smist has asked for the wisdom of the Perl Monks concerning the following question:
my @array1 = qw(one two three four five); my @array2 = qw(blue green white orange black); my @array3 = qw(car bike plane ship); my @array_ref = (\@array1, \@array2, \@array3); print $#{$array_ref};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dereferencing an array of arrays
by ikegami (Patriarch) on Oct 22, 2007 at 17:02 UTC | |
by smist (Acolyte) on Oct 22, 2007 at 17:10 UTC | |
|
Re: Dereferencing an array of arrays
by kyle (Abbot) on Oct 22, 2007 at 17:09 UTC | |
by smist (Acolyte) on Oct 22, 2007 at 18:08 UTC | |
|
Re: Dereferencing an array of arrays
by johngg (Canon) on Oct 22, 2007 at 18:17 UTC | |
|
Re: Dereferencing an array of arrays
by TGI (Parson) on Oct 22, 2007 at 19:05 UTC |