in reply to Re: Help to assign a 2D-Array to another while excluding specific rows.
in thread Help to assign a 2D-Array to another while excluding specific rows.

for (my $x = 0; $x <= $#AoA; $x++) { print "@{ $AoA[$x] }\n"; }

Consider replacing the above with this:

print "@$_\n" for @AoA;

Where, each time through the loop, $_ is an array reference (like to $AoA[$x] in your code); and then it is dereferenced with @$_.