in reply to RE: RE: I use CGI.pm for
in thread I use CGI.pm for
use CGI; my $cgi = CGI->new; print $cgi->header, $cgi->start_html('Times Tables'), $cgi->table( { -border => 1 }, ( map { my $r = $_; $cgi->Tr( ( map { $cgi->td( $_ * $r ), } 1 .. 50 ) ), } 1..50 ) ), $cgi->end_html;And for the obfuscated lovers in all of us (some people would call the above obfuscated.. slackers:-)
use CGI;my$cgi=CGI->new;print## $cgi->header=>$cgi->start_html# ('Times Tables')=>$cgi->table(# {-border=>1}=>(map{my$r=$_;$cgi ->Tr((map{$cgi->td($_*$r)}1..50 ))=>}1..50))=>$cgi->end_html;##
-- Casey
|
---|