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.
In reply to Re: Automatic stack traces for warns and dies
by Aristotle
in thread Automatic stack traces for warns and dies
by fergal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |