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

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

by wil (Priest)
on Jun 10, 2003 at 19:25 UTC ( #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
Node Status?
node history
Node Type: note [id://264832]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2021-04-14 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?