http://www.perlmonks.org?node_id=1036305


in reply to Re: Complex and reliable signal handling.
in thread Complex and reliable signal handling.

I tried $SIG{__DIE__} = \&Carp::confess; It prints nothing. Perhaps because it prints errors only outside eval?

I don't have own DIE handlers (but LWP, which I use, do, however it should localize it).

Also, I remember now, most (but not all) lines code lines mentioned in panic message contained eval (or 'require' which calls eval, or even eval{require}).