Re: RFC 88: What does catch "Foo" { } do?

[email protected] (Tony Olekshy) Sun, 20 Aug 2000 10:14:32 -0600
Newsgroups perl.perl6.language.errors
Organization Avra Software Lab Inc.
Message-ID <[email protected]>
Graham Barr wrote:
> 
> I am of the opinion that only a class name should follow catch.
> If someone wants to catch based on an expression they should use
>
>   catch {
>     if (<expr>) {
>     }
>     else {
>       # rethrow the error
>     }
>   }

Then you will be glad to know that RFC 88, in the not quite ready
version two release, allows you do to just that.

Yours, &c, Tony Olekshy