Perl-Sensitive Sunglasses | |
PerlMonks |
Re: An uncatchable dieby lestrrat (Deacon) |
on Feb 02, 2005 at 10:06 UTC ( [id://427192]=note: print w/replies, xml ) | Need Help?? |
I encountered something similar with destructors a while back. My case was that the eval{} block in my destructor was actually writing over the previous error status, and therefore making it looks as though there *was* no error. DESTROY and eval definitely don't play nice in some edge cases. Module authors ought to be careful not to introduce code like this (reminder to self)
In Section
Meditations
|
|