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}).
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}).
In Section
Seekers of Perl Wisdom