Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Repetitive HTML data

by reyjrar (Hermit)
on Sep 24, 2003 at 13:00 UTC ( [id://293834]=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://293834]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-24 10:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found