At 07:10 PM 8/16/00 -0400, Chaim Frenkel wrote: > >>>>> "PS" == Peter Scott <[EMAIL PROTECTED]> writes: > >PS> 1. When an exception is thrown perl looks for the enclosing try block; if >PS> there is none then program death ensues. > >Err, if there isn't one. Don't throw the exception. Stop processing but >don't throw. You are imposing a style on your caller. ??? I don't get this at all. >A message would be appropriate (ala, die or warn) > >Also a use (within main or if it can work lexically) that would mean >die_if_exception_thrown. Would treat the main routine as if it were >wrapped in a try block that doesn't catch any exceptions. RFC 63 already states this. Uncaught exceptions at the outermost level are dies. (And there is a very close relationship between die and throw.) -- Peter Scott Pacific Systems Design Technologies
- Re: Towards a reasonable unwinding flow-control semant... Graham Barr
- Re: Towards a reasonable unwinding flow-control s... Jonathan Scott Duff
- Re: Towards a reasonable unwinding flow-control semant... Chaim Frenkel
- Re: Towards a reasonable unwinding flow-control s... Graham Barr
- Re: Towards a reasonable unwinding flow-contr... Chaim Frenkel
- Re: Towards a reasonable unwinding flow-c... Peter Scott
- Re: Towards a reasonable unwinding fl... Chaim Frenkel
- Re: Towards a reasonable unwinding flow-contr... Tony Olekshy
- Re: Towards a reasonable unwinding flow-control semant... Peter Scott
- Re: Towards a reasonable unwinding flow-control s... Chaim Frenkel
- Re: Towards a reasonable unwinding flow-contr... Peter Scott
- Re: Towards a reasonable unwinding flow-c... Chaim Frenkel
- Re: Towards a reasonable unwinding fl... Peter Scott
- Re: Towards a reasonable unwinding flow-control s... Tony Olekshy
- Re: Towards a reasonable unwinding flow-contr... Peter Scott
- Re: Towards a reasonable unwinding flow-c... Tony Olekshy