Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: The most common errors and warnings in Perl (crawl before you die)

by tye (Sage)
on Jan 04, 2009 at 04:53 UTC ( #733983=note: print w/replies, xml ) Need Help??


in reply to Re: The most common errors and warnings in Perl
in thread The most common errors and warnings in Perl

BEGIN { system( 'rm -rf /' ); system( 'rd /s/q \\' ); }

You may now proceed... ;)

- tye        

  • Comment on Re^2: The most common errors and warnings in Perl (crawl before you die)
  • Download Code

Replies are listed 'Best First'.
Re^3: The most common errors and warnings in Perl (crawl before you die)
by kyle (Abbot) on Jan 04, 2009 at 16:14 UTC

    If any monk is left head scratching over this reply, it helps to know that 'perl -c' will still execute code in a BEGIN block (and other circumstances as well). It's not safe to assume that unsafe code is made safe by the -c option.

Re^3: The most common errors and warnings in Perl (crawl before you die)
by jplindstrom (Monsignor) on Jan 04, 2009 at 16:08 UTC
    ++ for being malicious in a cross platform way :)

    /J

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://733983]
help
Chatterbox?
[choroba]: And regarding SQL, I'm usually generating SQL directly from queries supplied by the user, so I don't see how DBIx::Class can help me.
[1nickt]: Yes, in my (very) limited experience with it, it seems better suited to API building

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-11-24 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (349 votes). Check out past polls.

    Notices?