On Mon, Dec 15, 2008 at 8:47 PM, Stephen Weeks <t...@allalone.org> wrote:
> do {
>    die 'some text';
>    say 'after the exception';
>    CATCH {
>        say 'caught the exception';
>        ...; # what goes here?
>    }
> }
>
> My proposal is to call .resume() on the exception object.
>
> Thoughts?
>

The spec says "Exceptions are not resumable in Perl 6 unless the
exception object does the Resumable role.". I don't think Str does
Resumable. In other words, you can't resume that.

Otherwise, I agree resume is a logical name.

Regards,

Leon

Reply via email to