my $table = ""; foreach my $row_of_stuff (@rows_of_stuff) { $table .= < EOT } $table .= "
$row_of_stuff
";