in reply to Array of array
We cant separate as what you have asked. Since, it has been given in the perldoc for push that, this function is just appending a list to an array.
But, it is possible to push a reference to the array and get back a particular list of elements. like below.,
push @mainarr,\@arr1; print Dumper @mainarr->[1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Array of array
by wfsp (Abbot) on Jun 04, 2009 at 13:00 UTC |