The $mydata scalar is a reference to an array-of-arrays data structure. There are 3 arrays, each with 3 elements.
@mydata is a flat array consisting of 9 elements.
It seems like whatever OLE module you're using requires you to use the reference to an array-of-arrays, not a flat array. Refer to the module documentation. Can you tell us the exact module you are using?
A good reference is perldsc.
In reply to Re: OLE write to Excel
by toolic
in thread OLE write to Excel
by NewMonk2Perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |