develooper Front page | perl.perl6.language.errors | Postings from August 2000

Re: Structured exception handling should be a core module.

From:
Peter Scott
Date:
August 28, 2000 17:48
Subject:
Re: Structured exception handling should be a core module.
Message ID:
4.3.2.7.2.20000828174257.00b14950@psdt.com
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 eval doesn't fail, just like $@ is
>now.

Yes.  Basically, you can think of the new $! as getting done to it whatever 
was last done to any of the set of $@, $!, $^E, and $? in the current Perl.
Well, I doubt it will be that simple :-)

--
Peter Scott
Pacific Systems Design Technologies




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About