Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-05-28 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?