Some consider $SIG{__DIE__} to be broken in design. Certainly, if you want nested 'die catchers' I think you would be better off using eval than $SIG{__DIE__}.
The p5p e-mail list archives have several discussions regarding this.
- tye (but my friends call me "Tye")In reply to (tye)Re: Weirdness with $SIG{__DIE__} (and __WARN__)
by tye
in thread Weirdness with $SIG{__DIE__} (and __WARN__)
by autarch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |