in reply to OLE write to Excel
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: OLE write to Excel
by NewMonk2Perl (Sexton) on Jan 20, 2011 at 15:37 UTC | |
by marto (Cardinal) on Jan 20, 2011 at 15:49 UTC | |
by NewMonk2Perl (Sexton) on Jan 20, 2011 at 15:57 UTC | |
by Ratazong (Monsignor) on Jan 20, 2011 at 16:08 UTC | |
by toolic (Bishop) on Jan 20, 2011 at 15:50 UTC | |
|
Re^2: OLE write to Excel
by NewMonk2Perl (Sexton) on Jan 20, 2011 at 16:06 UTC | |
by NewMonk2Perl (Sexton) on Jan 20, 2011 at 17:05 UTC | |
by marto (Cardinal) on Jan 20, 2011 at 18:41 UTC |