Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

No DESTROY object.

by gam3 (Curate)
on Jan 22, 2010 at 12:47 UTC ( [id://818955]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    bless(sub {}, 'Foo');
    
  2. or download this
    perl -e '{package Foo; sub DESTROY { print "d\n"; } bless( {}, 'Foo');
    +}'
    # d
    perl -e '{package Foo; sub DESTROY { print "d\n"; } bless(sub {}, 'Foo
    +');}
    # no d
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://818955]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found