Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: No DESTROY object.

by WizardOfUz (Friar)
on Jan 22, 2010 at 17:20 UTC ( [id://819009] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -we 'bless( \sub {}, "Foo" )->();'
    Not a CODE reference at -e line 1.
    
  2. or download this
    perl -we 'print bless( \sub {}, "Foo" ) . "\n";'
    Foo=REF(0x82998c4)
    
  3. or download this
    use strict;
    use warnings;
    ...
    }
    
    print "Done.\n";
    
  4. or download this
    # Created Foo=CODE(0x82b682c)
    # Ha! Ha! Still there!
    # DESTROYing Foo=CODE(0x82b682c)
    # Done.