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

Re: local $@ has an unwanted side effect

Thread Previous | Thread Next
From:
David Nicol
Date:
March 21, 2008 09:58
Subject:
Re: local $@ has an unwanted side effect
Message ID:
934f64a20803210958n29d85e64ibc943e78ec2bf2cb@mail.gmail.com
On Fri, Mar 21, 2008 at 11:52 AM, Abigail <abigail@abigail.be> wrote:
>
>  Such code would fail if we'd introduce automatic localization of $@.
>
>  Is that worth it?

no.

What code would fail if the order of localization restoration and
assignment to $@ were switched?


-- 
... but world war IV will be fought with rocks

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