Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Converting to CGI.pm

by Fingo (Monk)
on Mar 30, 2002 at 14:21 UTC ( #155429=perlquestion: print w/replies, xml ) Need Help??

Fingo has asked for the wisdom of the Perl Monks concerning the following question:

How would I make this code use the CGI.pm HTML interface?
print "<OL>"; foreach (@array){ print "<LI>$_</LI>"; } print "</OL>";

Replies are listed 'Best First'.
Re: Converting to CGI.pm
by rinceWind (Monsignor) on Mar 30, 2002 at 14:32 UTC
    Fingo, the pod associated with CGI.pm is quite extensive. However, just to give you a clue:
    print ol(li(\@array));
    does it all in one line.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://155429]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2020-11-26 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?