Re: Structured exception handling should be a core module.
On Thu, 24 Aug 2000 17:57:55 -0700, Peter Scott wrote: >>I've read 151 a few times, and I don't understand how it can impact >>the implementation of RFC 88 as a module. Please explain. > >If $@ and $! are merged, then in code like > > try { > system_call_that_fails(); >
$SIG{__DIE__} should be localized and cleared at the start of an eval block
Watch the behaviour of this code snippet in a current Perl (5.6): eval { print STDERR "Testing...\n"; warn "Oops!"; print STDERR "Still going...\n"; die "Argh!!!"; print STDERR "I died, didn't I?\n"; }; print STDE