Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: How to kill perl?

by robin (Chaplain)
on Nov 05, 2005 at 22:15 UTC ( [id://506032] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      perl -e 'undef %::; sub{}->()'
    
  2. or download this
    perl -e 'delete $::{"@"}; warn'      ;# crashes
    perl -e 'delete $::{"@"}; sub{}->()' ;# doesn't crash
    
    perl -e 'delete $::{"_"}; warn'      ;# doesn't crash
    perl -e 'delete $::{"_"}; sub{}->()' ;# crashes