I'm not sure of the reason for the deprecation, but how is that different from the recommended
BEGIN { *CORE::GLOBAL::die = sub { CORE::die @_ if ref $_[0] || ! defined $^S; my ($class) = caller(0); @_ = ( $class, 'Uncaught', join( '', @_ ) ); goto $class->can('throw') || \&throw; } }
In reply to Re: Deprecated use of $SIG{__DIE__} is useful
by ikegami
in thread Deprecated use of $SIG{__DIE__} is useful
by clinton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |