my @array = ( [ 1..3 ], [ 2..6 ] ); for my $i (0 .. $#array) { for $k (0..$#{ $array[$i] }) { ## This is the key. print $array[$i][$k]; } }
In reply to Re: Finding the length of an array of arrays
by btrott
in thread Finding the length of an array of arrays
by target
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |