[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: __DIE__ and exception hooks
Nick Ing-Simmons <nick@ing-simmons.net> wrote:
> The only other thing I have been known to (ab)use __DIE__ for is to get
> the caller() chain from where die actually happened, back to the nearest
> enclosing eval {}.
Eeep. Forgot about that... my C<$SIG{__DIE__}> handler just munges the
error text before C<goto &raise>. It's C<raise> that tunnels up stack
frames.
Pete
--
Horus Communications Ltd ~ http://www.horus.cix.co.uk/
"Pass me another elf, sergeant, this one's split"
- References to:
-
Nick Ing-Simmons <nick@ing-simmons.net>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]