develooper Front page | perl.perl5.porters | Postings from March 2008

Re: local $@ has an unwanted side effect

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 25, 2008 02:23
Subject:
Re: local $@ has an unwanted side effect
Message ID:
b77c1dce0803250222j44f4b9b6ud1ad587221acbd34@mail.gmail.com
On 21/03/2008, David Nicol <davidnicol@gmail.com> wrote:
>
>  Ths issue is that in the first case, the assignment to $@, which is
>  supposed to happen
>  by the eval, is affected by the local within localdie, which should
>  have been completed
>  before eval sets $@.
>
>  How can this be documented?

Thanks, applied (with Tim Bunce's amendments) as change #33558.

Thread Previous | Thread Next


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