Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1.
[email protected] (Tony Olekshy) Tue, 15 Aug 2000 18:24:47 -0600
| Newsgroups | perl.perl6.language.flow |
|---|---|
| Organization | Avra Software Lab Inc. |
| Message-ID | <[email protected]> |
Chaim Frenkel wrote:
>
> Tony Olekshy wrote:
> >
> > except { ... } => catch { ... }
> >
> > Invoked if unwinding and the except block returns true.
> > In the except block, $@ is the current exception.
> > If the except or catch blocks throw, unwinding continues.
> > If both complete without throwing, unwinding stops.
> > This is basically an "if" with unwinding semantics.
>
> That doesn't read right. Perhaps you really mean 'accept'.
>
> Main Entry: 1ex·cept
> with the exclusion or exception of
^^^^^^^^ ^^^^^^^^^^^^
> Main Entry: 2except
> to take or leave out from a number or a whole
^^^^^^^ ^^^^^^ ^^^^^
Except is if with unwinding semantics, as in "with the exception of"
or "to take out from other exceptions", as listed in the definitions
quoted above. A bare catch handles all exceptions *except* those
handled by previous except/catch clauses.
Yours, &c, Tony Olekshy