Re: It seems that Win32::OLE::Variant doesn't work!

2005-06-01 Thread J aperlh
Thanks for you guys help. $Bill Luebkert <[EMAIL PROTECTED]> found that is a typo of the document: . Win32::OLE::NEWS - What's new in Win32::OLE The VARIANT->Put(ARRAYREF) form allows assignment to a complete SAFEARRAY This allows automatic conversion from a list of lists to a SAFEARRAY. You can

RE: It seems that Win32::OLE::Variant doesn't work!

2005-06-01 Thread Anderson, Mark (Service Delivery)
perl 5.8.4 on NT4 C:\>perl -e "use Win32::OLE;use Win32::OLE::Variant; my $Array=Variant(VT_ARRAY| VT_R8,[1,2],2); $Array->Put([1,2],[2,3]); " Win32::OLE(0.1701): Win32::OLE::Variant->Put(): Wrong number of indices; dimension of SafeArray is 2 at -e line 1. This works fine... it's normally eas