The __DIE__ handler is incorrect since you're not re-throwing the exception and you're not examining $^S to determine if the die() is happening in an eval block. Some modules use die() as an internal exception mechanism and you won't want to treat those non-fatal deaths as errors.
-sam
In reply to Re: doubious about redefine $SIG{__WARN__}
by samtregar
in thread doubious about redefine $SIG{__WARN__}
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |