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

Re: Pearls (not really) of Perl programming

by Ovid (Cardinal)
on Nov 24, 2004 at 18:06 UTC ( [id://410199]=note: print w/replies, xml ) Need Help??


in reply to Pearls (not really) of Perl programming

I would cheerfully have strangled the guy:

{ no strict; &{$cgi->param('action')}; }

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^2: Pearls (not really) of Perl programming
by tachyon (Chancellor) on Nov 24, 2004 at 22:52 UTC

    It could have been worse :-)

    eval $cgi->param('action'); open F, $cgi->param('file'); $dbh->do( "SELECT * FROM blah WHERE foo LIKE %" . $cgi->param('search' +) .'%' );

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-18 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found