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];
In reply to Re: Array of array
by nagalenoj
in thread Array of array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |