Problems? Is your data what you think it is? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
In Win32::OLE property assignment using the hash syntax is equivalent to the Visual Basic Set syntax (by reference assignment): $Object->{Property} = $OtherObject;corresponds to this Visual Basic statement: Set Object.Property = OtherObjectTo get the by value treatment of the Visual Basic Let statement Object.Property = OtherObjectyou have to use the LetProperty() object method in Perl: $Object->LetProperty($Property, $OtherObject);LetProperty() also supports optional arguments for the property assignment. See OBJECT->SetProperty(NAME,ARGS,VALUE) for details. In reply to Re^2: Working with COM objects
by Anonymous Monk
|
|