in reply to Deprecated use of $SIG{__DIE__} is useful
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; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deprecated use of $SIG{__DIE__} is useful
by clinton (Priest) on Feb 28, 2009 at 19:09 UTC | |
by ikegami (Patriarch) on Feb 28, 2009 at 19:13 UTC | |
by perrin (Chancellor) on Feb 28, 2009 at 23:02 UTC | |
by ikegami (Patriarch) on Feb 28, 2009 at 23:07 UTC | |
by perrin (Chancellor) on Feb 28, 2009 at 23:38 UTC |