develooper Front page | perl.perl6.language | Postings from December 2008

Resume from exception

Thread Previous | Thread Next
From:
Stephen Weeks
Date:
December 15, 2008 16:35
Subject:
Resume from exception
Message ID:
20081215194732.GA28645@castro.iodynamics.com
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?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About