Overriding die catches calls to die('Error'), but it doesn't catch errors such as undefined values being thrown because I've used strict.
Neither does $SIG{__DIE__}. That would be $SIG{__WARN__}.
In reply to Re^3: Deprecated use of $SIG{__DIE__} is useful
by perrin
in thread Deprecated use of $SIG{__DIE__} is useful
by clinton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |