in reply to Repetitive HTML data

Sure thing:
my $table = <<EOT; <table> <tr> <td>Info</td> </tr> <tr> <td>Second Info stuff</td> </tr> <tr> <td>More data</td> </tr> </table> EOT
-brad..

Replies are listed 'Best First'.
Re: Re: Repetitive HTML data
by hmerrill (Friar) on Sep 24, 2003 at 15:01 UTC
    Maybe I'm reading this wrong, but seems like you have multiple rows of stuff you want to display. How 'bout this:
    my $table = "<table>"; foreach my $row_of_stuff (@rows_of_stuff) { $table .= <<EOT; <tr> <td>$row_of_stuff</td> </tr> EOT } $table .= "</table>";
    Does this help?