Having to even think about the $^S variable in your exception handlers is simply wrong. $SIG{__DIE__} as currently implemented invites grievous and difficult to track down errors. Avoid it and use an "END{}" or CORE::GLOBAL::die override instead.
I'm not saying that I support that, quite the contrary, but at least it is worth to know about this sudden perversion of the nature.
In reply to Re^2: forcing eval'd die to ignore global $SIG{__DIE__} handler
by dk
in thread forcing eval'd die to ignore global $SIG{__DIE__} handler
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |