in reply to a papist want to confess

You can use $SIG{__DIE__}. There are some "issues" with setting $SIG{__DIE__} when using eval, so be careful. You can read more here.
local $SIG{__DIE__} = \&confess;
If you'd rather override CORE::GLOBAL::die, you need to do so from a different package. Take a look at Overriding the Core die Function. This is from the mod_perl guide, but it should apply to your situation, as well.

Replies are listed 'Best First'.
RE: Re: a papist want to confess
by Anonymous Monk on Sep 10, 2000 at 23:24 UTC
    The later should do. Thanks