my @cols; for my $row (@array) { my @f = split /,/, $row; push @{$cols[$_]}, $f[$_] for 0 .. $#f; }
Makeshifts last the longest.
In reply to Re^3: Arrays manipulation (no $i either)
by Aristotle
in thread Arrays manipulation
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |