Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
There's more than one way to do things
 
PerlMonks  

All dogs go to heaven

by merlyn (Sage)
on Dec 14, 2000 at 20:46 UTC ( #46638=poem: print w/ replies, xml ) Need Help??

sub Dog::DESTROY { push @::HEAVEN, shift }

-- Randal L. Schwartz, Perl hacker

Comment on All dogs go to heaven
Download Code
Re: All dogs go to heaven
by japhy (Canon) on Dec 14, 2000 at 22:19 UTC
    Won't that cause much infinite looping badness at the end of the program?
    Update -- it tells me: "DESTROY created new reference to dead object during global destruction." And I don't see this message documented anywhere.

    japhy -- Perl and Regex Hacker

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: poem [id://46638]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2013-05-26 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (526 votes), past polls