Re: Structured exception handling should be a core module.

2000-08-28 Thread Peter Scott
At 10:13 AM 8/25/00 +0200, Bart Lateur wrote: You're citing my objection for merging in $@ with the rest of the error variables. $@ currently is the "eval failed" flag, irrespective of what else failed. We *must* have such a flag. If $@ and $! would be merged, $! will have to be cleared if the

Re: Structured exception handling should be a core module.

2000-08-28 Thread Peter Scott
At 01:42 AM 8/25/00 -0600, Tony Olekshy wrote: Peter Scott wrote: If $@ and $! are merged, then in code like try { system_call_that_fails(); more_stuff_that_succeeds(); } finally { } does the finally block

Re: Structured exception handling should be a core module.

2000-08-26 Thread Tony Olekshy
Peter Scott wrote: Tony Olekshy wrote: In fact, not only would I be pleased and honoured to author the Perl 6 core Try.pm module, I'm already working on a Perl 5 standard reference implementation. Peter, I think we should make this approach more clear in RFC 88. I'm not

Re: Structured exception handling should be a core module.

2000-08-25 Thread Tony Olekshy
Peter Scott wrote: At 06:48 PM 8/24/00 -0600, Tony Olekshy wrote: I've read 151 a few times, and I don't understand how it can impact the implementation of RFC 88 as a module. Please explain. If $@ and $! are merged, then in code like try {

Re: Structured exception handling should be a core module.

2000-08-24 Thread Tony Olekshy
Peter Scott wrote: At 06:06 PM 8/24/00 -0600, Tony Olekshy wrote: In fact, not only would I be pleased and honoured to author the Perl 6 core Try.pm module, I'm already working on a Perl 5 standard reference implementation. Peter, I think we should make this approach more clear in RFC