print ""; for (my $i = 0; $i<@values; $i++) { if (($i % scalar(@column_names)) == 0) { print "\n"; } print "$values[$i]\n"; } print "";