You're pushing a reference to @row as an item into @sheet2. In order to create complex data structures (array of arrays, array of hashes, etc) you need to assign references.push @sheet2 , \@row;
In reply to Re^3: what is @$varname in perl
by perlfan
in thread what is @$varname in perl
by sandy105
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |