Re: Structured exception handling should be a core module.

2000-08-29 Thread Peter Scott
At 09:41 PM 8/28/00 -0600, Tony Olekshy wrote: >I just want the cognitive simplicity of knowing that $@ and every >@@ isa Exception, no matter what. > >Why not merge $!, $^E, and $@ into $!, but leave $@ alone too? >That way, none of the existing die/eval code will break without >being modified to

Re: Structured exception handling should be a core module.

2000-08-29 Thread Tom Christiansen
>Now, every error is guaranteed to be an object. You can call some method >or check some attribute of it to find out if it was an exception. If >you're checking a system() or `` failure, you use it in numerical >context. If you're checking a builtin failure, you use it in string >context (u

Re: Structured exception handling should be a core module.

2000-08-29 Thread Peter Scott
At 01:07 PM 8/29/00 -0600, Tom Christiansen wrote: > >Now, every error is guaranteed to be an object. You can call some method > >or check some attribute of it to find out if it was an exception. If > >you're checking a system() or `` failure, you use it in numerical > >context. If you're check