Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: printing out a table X wide and X down without html::template

by robot_tourist (Hermit)
on Aug 22, 2007 at 08:12 UTC ( [id://634267]=note: print w/replies, xml ) Need Help??


in reply to printing out a table X wide and X down without html::template

I've seen one response that uses CGI.pm, but don't forget that the CGI docs explain how to use start_Tr and end_Tr.

use CGI qw/:standard *table *Tr/; ... # decide rows and columns of table ... # e.g. AoA @rows where each element points to an array of cells ... # perhaps each cell could point to a hash of the image data print $query->start_table(...); for my $row (@rows) { print $query->start_Tr(...); for my $cell (@{$row}) { print $query->td(...); # insert image data here } print $query->end_Tr(); } print $query->end_table(); ...

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-25 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found