in reply to Returning a VB ScriptingObject to Perl app
Yeah, that's exactly what I would expect. The VB method returned you an Object ... which gets wrapped by Win32::OLE as a Perl Win32::OLE object.
And as such it cannot be displayed by Data::Dumper.
You should use it as an object and that should be fine.
Try
and so forth. If you want to print all items in the Dictionary you may use the in() function contained in Win32::OLE :print $resultsArray->{tom}; or print $resultsArray ->Item(tom);
use Win32::OLE qw(in); foreach my $key (in $resultsArray) { print $key, " => ", $resultsArray->{$key}, "\n"; }
Jenda
|
|---|