in reply to Automatic stack traces for warns and dies
use Carp qw(confess cluck); BEGIN { *CORE::GLOBAL::warn = \&cluck; *CORE::GLOBAL::die = \&confess; }
(Note the compile time override; this is important.)
Makeshifts last the longest.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Automatic stack traces for warns and dies
by fergal (Chaplain) on Jul 31, 2004 at 20:32 UTC | |
by broquaint (Abbot) on Aug 01, 2004 at 11:16 UTC | |
by fergal (Chaplain) on Aug 01, 2004 at 16:37 UTC | |
by broquaint (Abbot) on Aug 02, 2004 at 10:22 UTC | |
by fergal (Chaplain) on Aug 02, 2004 at 12:17 UTC |
In Section
Seekers of Perl Wisdom