Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(wil) Re: Re: use CGI and die;

by wil (Priest)
on Jun 10, 2003 at 19:25 UTC ( [id://264832]=note: print w/replies, xml ) Need Help??


in reply to Re: use CGI and die;
in thread use CGI and die;

I'll upvote you and reply here. If you have *ever*, ever, ever found yourself writing something like:

if ($query->param('foo') eq "bar") { do this } elsif ($query->param('foo') eq "mynameisdave") { do something completly stupid } else { ...

Then *STOP* now and start using CGI::Application. It's the best thing since nutella on that thick bread your mum used to make and should be used at all times for any CGI application that used multiple form, pages, or any other kind of multiple foo application.

Try it, then slate me for saying it if you don't like it. But you like that nutella, so come on, I must be right, right?

Over and out.

- wil

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://264832]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-23 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found