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.
In Section
Seekers of Perl Wisdom