develooper Front page | perl.perl5.porters | Postings from November 2010

Re: [perl #79828] STDERR isn't being unlocalized when there's anunhandled exception.

Thread Previous | Thread Next
From:
Elliot Shank
Date:
November 28, 2010 15:19
Subject:
Re: [perl #79828] STDERR isn't being unlocalized when there's anunhandled exception.
Message ID:
4CF2E37E.8090006@galumph.com
On 11/27/10 12:36 PM, Rafael Garcia-Suarez wrote:
>> I expect STDERR to be delocalized before final exeption handling kicks in.
>> It's as if the lexical scope isn't being left.
>
> Not a bug, in my opinion (local() being dynamic scoping, not lexical scoping).

Yes, the effect on STDERR is dynamic, but that dynamic effect should be undone as part of leaving that lexical scope.

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