The code you show doesn't even compile. In any case, you can't use a slice to do what you want. You need a map.
my @col = map $_->[ 3 ], @AoA;
Makeshifts last the longest.
In reply to Re: Extracting columns from a two dimensional array
by Aristotle
in thread Extracting columns from a two dimensional array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |