See the bottom of die where the (bad) interaction of die with signal handlers is discussed and $^S is mentioned as the place to check whether you're within an eval block or not.
In reply to Re: try catch getting ignored by SIG DIE subroutine
by Corion
in thread try catch getting ignored by SIG DIE subroutine
by dkhosla1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |