I have moved this to [EMAIL PROTECTED] Chaim Frenkel wrote: > > Sorry, I keep reading [except], even with your explanation, as > "ignore this [catch]". A more positive word would be better. I take your point. Patches are welcome ;-) > I haven't seen a good reason that it should be any more complex than > > do BLOCK oops BLOCK always BLOCK The proposed omnibus Exceptions RFC allows you to say try BLOCK catch BLOCK finally BLOCK which does exactly what you want. If you don't want it any more complex than that, then just use that. Most people (including me) will, most of the time, and often they will have only the catch *or* the finally. However, many people have broached topics such as conditional catch blocks (such as those based on the exception's isa relationships), multiple catch clauses with varying conditions, and post-finally catch blocks. I agree that we don't have a great handle on the flow-control semantics for multiple catch blocks. We're working on it. But if we can come up with some decent simple rules, then I see no reason to prohibit careful use of more complex constructs. Yours, &c, Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1. Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions R... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptio... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Chaim Frenkel
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptio... Jonathan Scott Duff
- Re: Toward an omnibus Perl 6 Exc... Chaim Frenkel
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions RFC, ... Tony Olekshy
- Re: Toward an omnibus Perl 6 Exceptions R... Peter Scott
- Re: Toward an omnibus Perl 6 Exceptio... Tony Olekshy