go ahead... be a heretic | |
PerlMonks |
Re^3: XML::Twig and Evalby Corion (Patriarch) |
on Mar 28, 2016 at 09:34 UTC ( [id://1158937]=note: print w/replies, xml ) | Need Help?? |
The fundamental thing is to not have a $SIG{__DIE__} handler at all, or at least, to not call exit in there. Also see $^S in perlvar and the discussion of it there relating to %SIG. Basically, what you've done is bad design and the sooner you go away from a $SIG{__DIE__}, the sooner your headaches will go away.
In Section
Seekers of Perl Wisdom
|
|