Re: Toward an omnibus Perl 6 Exceptions RFC, v0.1.

[email protected] ((Kai Henningsen)) 16 Aug 2000 19:52:00 +0200
Newsgroups perl.perl6.language.flow
Organization Organisation? Me?! Are you kidding?
Message-ID <[email protected]>
[email protected] (Tony Olekshy)  wrote on 15.08.00 in <[email protected]>:

> What if we implemented something like the following?

Seems that the basic unwinder is

>     except { ... } => catch { ... }

and everything else can be written in terms of this:

>     catch { ... }

except { 1 } => catch { ... }

>     catch "ClassName" { ... }

except { $@->isa($ClassName") } catch { }

>     finally { ... }

except { 1 } => catch { ... ; throw $@ }


MfG Kai