Keep It Simple, Stupid | |
PerlMonks |
Re: cleaning up in DESTROYby mr_mischief (Monsignor) |
on Apr 03, 2008 at 16:19 UTC ( [id://678199]=note: print w/replies, xml ) | Need Help?? |
Here's a simple test case. Empirically, if you have this:
then it produces this:
So, as a rule I'd say yes it'll be there. However, be sure to consider liz's comments in Re: cleaning up in DESTROY, the thread at Object reference disappearing during global destruction, and phillup's journal entry at http://use.perl.org/~phillup/journal/21827 which covers unordered global destruction as well. That appears to be a dark corner in which quite a few people find themselves. I don't think I'd call it a bug, per se, but maybe perlobj could be a little more verbose on the implications of what happens during global destruction.
In Section
Seekers of Perl Wisdom
|
|