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' +) .'%' );