Look at the perlvar manpage for discussions of the %SIG hash. Note that your die handler will also be called in the case of die from evals; you may need to check $^S for this (it will be true inside an eval).$SIG{__DIE__} = sub { # do something };
In reply to Re: Returning through signal
by bikeNomad
in thread Returning through signal
by motyakatz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |