John Porter wrote: > > There is no try, there is only do. :-) Nonsense. Traditionally Perl has had both the "do" and the "eval" block forms, the latter which traps, the former which doesn't. "try" is just a slightly souped-up "eval" that better handles the class of problems introduced when exceptions are more commonly used for error handling (by adding some well-defined auxiliary clauses to the statement). Perl has always used an in-flow statement (namely "eval") to signal an unwind-trapping context; are you *sure* you want to change that tradition now? If we work together on this we can make Perl 6's exception handling something worth having worked on. If we throw a bunch of untested ideas together we can only hope they work (at least I hope they work, since Perl has been my favourite language for the last twelve years). Now, shall we? Yours, &c, Tony Olekshy
- Re: End-of-scope actions: Background. Peter Scott
- Re: End-of-scope actions: Background. Simon Cozens
- Re: End-of-scope actions: Background. Graham Barr
- End-of-scope actions: Visibility. Tony Olekshy
- End-of-scope actions: POST blocks. Tony Olekshy
- Re: End-of-scope actions: POST blocks. James Mastros
- Re: End-of-scope actions: POST blocks. Tony Olekshy
- Re: End-of-scope actions: POST blocks. Tony Olekshy
- End-of-scope actions: Reference model 2.0.2.1. Tony Olekshy
- End-of-scope actions: Error messages. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Glenn Linderman
- Re: End-of-scope actions: do/eval duality. Tony Olekshy
- Re: End-of-scope actions: do/eval duality. Bart Lateur
- Re: End-of-scope actions: do/eval duality. Branden
- Re: End-of-scope actions: do/eval duality... abigail
- Re: End-of-scope actions: do/eval du... Branden
- Re: End-of-scope actions: do/eva... abigail
- Re: End-of-scope actions: do/eva... Simon Cozens
- Re: End-of-scope actions: do/eval duality... Bart Lateur
- Re: End-of-scope actions: do/eval duality. Glenn Linderman