There's something I didn't quite understand about RFC 88:
When I
try {
die "foo";
} catch {
die "bar";
}
I die with "bar", right? But what happens if I
try {
die "foo";
} finally {
die "bar";
}
I die with "foo" or "bar" ? Why is this the right behaviour? Any sample code
that shows why this should be done this way and not the other?
Thanks,
- Branden
- End-of-scope actions: Background. Tony Olekshy
- Re: End-of-scope actions: Background. Branden
- Re: End-of-scope actions: Background. Tony Olekshy
- Re: End-of-scope actions: Background. Tony Olekshy
- Re: End-of-scope actions: Background. Nicholas Clark
- Re: End-of-scope actions: Background. Jarkko Hietaniemi
- Re: End-of-scope actions: Background. Peter Scott
- Re: End-of-scope actions: Background. Peter Scott
- Re: End-of-scope actions: Background. Simon Cozens
- Re: End-of-scope actions: Background. Graham Barr
