in reply to Find all values of an AoA by columns
Although I'm sure there is a more elegant way to write it.my $col = 0; while ( my @col_values = map { $_->[$col] } @AoA ) { last unless grep /^.$/, @col_values; print join (",", @col_values), "\n"; $col++; }
|
---|