sub Dog::DESTROY { push @::HEAVEN, shift }
[download]
--
Randal L. Schwartz, Perl hacker
Comment on
All dogs go to heaven
Download
Code
Replies are listed 'Best First'.
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
[reply]
Back to
Perl Poetry