in reply to Re: How do I get a post mortem stack trace?
in thread How do I get a post mortem stack trace?
This turns any die into a confess, giving you a full stack trace. (Of course it does add two to the line numbers reported -- you could fudge this by adding these two statements to a pre-existing line).use Carp; $SIG{__DIE__} = \&Carp::confess;
|
|---|