Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

No DESTROY object.

by gam3 (Curate)
on Jan 22, 2010 at 12:47 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://818955]
Approved by Corion
Front-paged by Corion
[Corion]: Oooh. I had hoped that X::Tiny would be an X11 client or X11 server, but it is an exception framework :-)
[MidLifeXis]: How many languages would that 'Ex' alias handle. ETOOCUTE

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2017-02-27 11:48 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (383 votes). Check out past polls.