in reply to OLE optional parameter required
But anyways, the correct way to specify a "Nothing" pointer with Win32::OLE is:
where nothing() really is just a convenience function for Win32::OLE::Variant->new(VT_DISPATCH)use Win32::OLE::Variant qw(nothing); # ... $OleObj->Method($strFirstArg, nothing);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OLE optional parameter required
by Anonymous Monk on Mar 02, 2010 at 22:12 UTC | |
by jand (Friar) on Mar 03, 2010 at 09:17 UTC |