my @arrays = ([qw[ 1 2 3 4 ]], [qw[ 5 6 7 8 ]], ); for my $i (0, 1) { print "ARRAY $i\nValue1 $arrays[$i][1]\n"; }