for my $i (0..1) { print "\n"; for my $j (0..2) { print qq {
$result[$i*3+$j]
\n}; } print "\n"; }