L
Les
I am using a
$obj = $Server->CreateObject("customdll.object") command successfully.
I get the correct output from a call such as
$obj->{something};
but I can't get the correct syntax for a method which in vbscript
works fine as
objAuth.OutputField("message")
When I use my best guess
$strMessage = "$obj->{OutputField}->{'message'}";
$Response->Write("message is: $strMessage ." );
there is no error but the output is just "message is:."
though I am sure there would be a message.
At the head of the page I have
use Data:
umper;
use Win32::OLE;
use Win32::OLE::Variant; #this gets the dates out of the database
right.
use Time::Local;
and tried
for my $item ($obj){
$Response->Write("Got first, " . Dumper($item) . "<br>");
}
but the output of that is
Got first, $VAR1 = bless( {}, 'Win32::OLE' );
It would be much appreciated if I could be told the correct syntax.
Les
$obj = $Server->CreateObject("customdll.object") command successfully.
I get the correct output from a call such as
$obj->{something};
but I can't get the correct syntax for a method which in vbscript
works fine as
objAuth.OutputField("message")
When I use my best guess
$strMessage = "$obj->{OutputField}->{'message'}";
$Response->Write("message is: $strMessage ." );
there is no error but the output is just "message is:."
though I am sure there would be a message.
At the head of the page I have
use Data:
use Win32::OLE;
use Win32::OLE::Variant; #this gets the dates out of the database
right.
use Time::Local;
and tried
for my $item ($obj){
$Response->Write("Got first, " . Dumper($item) . "<br>");
}
but the output of that is
Got first, $VAR1 = bless( {}, 'Win32::OLE' );
It would be much appreciated if I could be told the correct syntax.
Les