Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Pearls (not really) of Perl programming

by Ovid (Cardinal)
on Nov 24, 2004 at 18:06 UTC ( #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
Node Status?
node history
Node Type: note [id://410199]
help
Chatterbox?
[shmem]: Lady_Aleena: perl -MMP3::Tag -MFile::Find -le 'find(sub{if($File ::Find::name=~/\. mp3$/){$sum+=MP3:: Tag->new($_)-> interpolate("\%S ")} }, "Music"); print "total seconds: $sum"'
[Lady_Aleena]: shmem, sorry I was outside for a moment moving my car out of hubby's way.
[Lady_Aleena]: shmem, there is ONE song which throws a wrench in the works for both MP3::Info and MP3::Tag.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-04-23 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.