in reply to array of arrays - context problem
my @masterarray = ( \@array1, \@array2, \@array3 );
To cycle through them you can use some nested loops:
my $c = 0; for my $a(@masterarray) { print "Array: ", ++$c, "\n"; print " $_\n" for @$a; }
You may also want to investigate Data::Dumper. For more, see perldsc.
|
|---|