Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

RE: RE: RE: I use for

by cwest (Friar)
on Jun 08, 2000 at 06:11 UTC ( #17012=note: print w/replies, xml ) Need Help??

in reply to RE: RE: I use for
in thread I use for

Not to mention, with some creative map use, you can create dynamic tables and such pretty easy, while not breaking the stylish print 'some','things','in','a','row'; :-)
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 ) ),
And for the obfuscated lovers in all of us (some people would call the above obfuscated.. slackers:-)
use CGI;my$cgi=CGI->new;print##
('Times Tables')=>$cgi->table(#

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://17012]
[choroba]: csh considered harmful
[erix]: no, I'm using bash :)
[marioroy]: :)
[marioroy]: I use the default and happens to be bash
[erix]: heh, I like the "Resolved" (Christiansen is really funny)
Discipulus is makita a reincarnation of grinder?
[erix]: I probably also need to understand TAP a bit better than I do

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-23 08:29 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (285 votes). Check out past polls.