On Mon, 5 Feb 2001, Perrin Harkins wrote:
> > Nope, that's not it. I wrote that one and it doesn't talk about that at
> > all.
>
> I meant "for how to generate a stacktrace". Using it with a singal
> handler was demonstrated on this list about two weeks ago, but I can't
> recall who did it. It was someone trying to track down a segfault.
Oops, yes, you could use Devel::StackTrace or just use Carp::croak.
Devel::StackTrace gives you a finer grained access to the stack trace (you
can examine it frame by frame) rather than just dumping a string. For the
purposes of dumping a trace to a log, either one will work just fine.
-dave
/*==================
www.urth.org
We await the New Sun
==================*/