in reply to Array of array
Dear monk,
UPDATE: Similar answer has been given above when I am typing this, sorry for the repetition
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];
UPDATE: Similar answer has been given above when I am typing this, sorry for the repetition
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Array of array
by wfsp (Abbot) on Jun 04, 2009 at 13:00 UTC |
In Section
Seekers of Perl Wisdom