Re: Resume from exception

2008-12-16 Thread Larry Wall
On Mon, Dec 15, 2008 at 03:06:44PM -0700, Stephen Weeks 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. It could jus

Resume from exception

2008-12-15 Thread Stephen Weeks
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?

Re: Resume from exception

2008-12-15 Thread Leon Timmermans
On Mon, Dec 15, 2008 at 8:47 PM, Stephen Weeks 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 sa

Resume from exception

2008-12-15 Thread Stephen Weeks
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?