in reply to Re: printing a table in html using data read from a text file
in thread printing a table in html using data read from a text file
For stuff like this, I so love using the stuff in CGI.pm. It's so slick to be able to saysub print_row { print"<TR>"; print"<TD>$_</TD>" for @_; print"</TR>\n"; }
Or, if I want to build a table at once, do:print TR( td( \@_ ) );
my @rows; for ( blah blah ) { ... push( @rows, TR( td( \@_ ) ); } print table( @rows );
xoxo,
Andy
%_=split/;/,".;;n;u;e;ot;t;her;c; ". # Andy Lester
'Perl ;@; a;a;j;m;er;y;t;p;n;d;s;o;'. # http://petdance.com
"hack";print map delete$_{$_},split//,q< andy@petdance.com >
|
|---|