in reply to Re: Throw from within a DESTROY block
in thread Throw from within a DESTROY block
I was going to mention the possibility of using a $SIG{__DIE__} that calls exit, but it doesn't work. The signal is triggered before the object is destroyed, so a second attempt to destroy the object occurs during global destruction.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Throw from within a DESTROY block
by ribasushi (Pilgrim) on Sep 07, 2011 at 02:04 UTC |
In Section
Seekers of Perl Wisdom