RSS | Module Info | Add a review of Devel-SimpleTrace

1 out of 1 found this review helpful:

Devel-SimpleTrace (0.06) ***

The easy benefit this module offers is providing a backtrace with filenames and line numbers when your code warns or dies in an eval block.

However the current API is only suitable for development work in many cases, because it globally overrides the 'warn' and 'die' signal handlers.

A more production-compatible solution can be accomplished with the Carp module, and localized handlers like this:

use Carp;

{
local $SIG{__DIE__} = \&confess;
eval { ... }
}

Unless you really prefer how this module formats the output, I recommend the safer syntax of Carp above.

Mark Stosberg - 2005-09-03 07:13:36
Was this review helpful to you?  Yes No

2 out of 2 found this review helpful:

Devel-SimpleTrace (0.06) *****

This is the professional version of Acme::JavaTrace.
A simple and powerful tool that every Perl programmer should have in their toolbox.

Philippe 'BooK' Bruhat - 2005-08-28 10:53:01
Was this review helpful to you?  Yes No


the camel