You almost certainly want to do this instead of overriding $SIG{__DIE__}, since the latter doesn't stop exception handling, but just gives you a chance to do some stuff before die continues going about its business.local *CORE::GLOBAL::die = sub { "My version of die." }; # use it...
In reply to Re^2: Customizing the 'die' funtion
by educated_foo
in thread Customizing the 'die' funtion
by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |