http://qs321.pair.com?node_id=410364


in reply to Re: Multidimensional Arrays
in thread Multidimensional Arrays

You could try:
my @another = @{$arr[1]}; for ( $i = 0; $i < 3; $i++ ) { print "another[$i] = $another[$i]\n"; }
using an array to hold the row, or:
my $another = $arr[1]; for ( $i = 0; $i < 3; $i++ ) { print "another[$i] = $another->[$i]\n"; }
using a ref to the row. You should also consider use strict;, BTW...