in reply to list to LoL
my @new; my $count = 4; # by this many for (my $i = 0; $i <= $#old; $i++) { $new[$i / $count][$i % $count] = $old[$i]; } [download]
-- Randal L. Schwartz, Perl hacker