On Tue, Aug 10, 2004 at 06:45:00AM -0500, Dave Rolsky wrote:
> On Tue, 10 Aug 2004, Rafael Garcia-Suarez wrote:
> 
> >   Fergal, actually, is apparently writing a stack trace module. While
> >   doing so, he found and reported a bug concerning what happens when you
> >   tie %SIG : it doesn't work until you insert a value in it. (Bug #30926.)
> >
> >       
> > http://groups.google.com/groups?selm=rt-3.0.11-30926-93061.2.56136439978242%40perl.org
> 
> I refer Fergal and anyone else interested to Devel::StackTrace and
> Sig::PackageScoped on CPAN.

The summary is not quite correct. I am no longer writing a stack tracing
module, a small patch to diagnostics.pm got me what I wanted.

The module I was originally writing was in fact based on your very fine
Devel::StackTrace. Unfortunately Sig::PackagedScope wouldn't help as it
localises signal handlers whereas I need something global.

It's weird that after all this time perl doesn't have a well known switch
that turns on stack traces. I certainly didn't know that diagnostics.pm
could do it. It only ever gets mentioned as a tool for beginners,

F

Reply via email to