Given some object and a property:
my $obj = new Win32::OLE("SOME.class");
my $val = $obj->{SomeProperty};
...is there some way to determine the VT type of $val (or of
SomeProperty, equivalently). I often run into strange problems where I
expect a 32 bit negative value from some property, but when I simply
print it, perl shows it as a large positive value. It is bit equivalent
to the expected negative value, but somehow not being interpreted with
the corrected sign-ed-ness. The first thing I would like to check is
the VT type that Win32::OLE thought it got -- then I'll see if I agree
with how Win32::OLE is converting to perl scalars based on the VT type.
Advice appreciated.
-Mike Ellery
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs