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

Re: Build Table with 'n' rows and 'm' columns

by cLive ;-) (Prior)
on Nov 02, 2006 at 10:59 UTC ( [id://581909]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Build Table with 'n' rows and 'm' columns

TIMTOWTDI ;-)
#!/usr/bin/perl use strict; use warnings; use CGI; my $data = [ [1,23,3],[4,5,6],[2,3,6],[7,3,7] ]; my $q = CGI->new(); print $q->header. $q->start_html. $q->table( $q->Tr( [ map { $q->td($_) } @{$data} ] ) ). $q->end_html;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://581909]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.