Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
the output of the first print is 5my @arrays = ([2,4,6],[8,9,5],[1,2,3]); print $arrays[1][2]; my @secondArr = $arrays[1]; print "@secondArr";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: array of arrays
by moritz (Cardinal) on Dec 06, 2010 at 09:58 UTC | |
by AnomalousMonk (Archbishop) on Dec 06, 2010 at 13:09 UTC | |
|
Re: array of arrays
by suhailck (Friar) on Dec 06, 2010 at 09:53 UTC | |
|
Re: array of arrays
by 7stud (Deacon) on Dec 07, 2010 at 03:03 UTC |