in reply to How do I get a post mortem stack trace?
So you should get nice carp type details without the Carp.$SIG{__DIE__} = sub { warn "ack: ", join(', ', grep defined, caller(0)), $/; }; die("I died at line: ", __LINE__); __output__ ack: main, -, 5, main::__ANON__, 1, 0, 0, I died at line: 5 at - line 5.
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I get a post mortem stack trace?
by jsegal (Friar) on Nov 11, 2002 at 18:47 UTC |