- or download this
my @names = qw(A B C D);
for (my $i=0; $i<4; $i++) {
...
use Data::Dumper;
print Dumper(\@A, \@B, \@C, \@D);
- or download this
use strict;
...
use Data::Dumper;
print Dumper(@ARRAYS{@names});
- or download this
use strict;
...
use Data::Dumper;
print Dumper(\@A, \@B, \@C, \@D);