I'm working with a com object that was originally designed for ASP. For this one function you specify the name of the field and the variable name that will hold the return value but this doesn't work: $Enable->GetField("LINE",\$Line}); This is how it was originally written in asp Enable.GetField("LINE",Line)

to save data pasted back from sub like that you must save them.

my $saved = $Enable->GetField("LINE",\$Line});

that will captured anything that is returned back from the sub.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.