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:
Zefram
Date:
November 28, 2010 11:17
Subject:
Re: [perl #79828] STDERR isn't being unlocalized when there's anunhandled exception.
Message ID:
20101128191721.GB24925@lake.fysh.org
Elliot Shank wrote:
>STDERR isn't being unlocalized when there's an unhandled exception.
...
>It's as if the lexical scope isn't being left.

It's the dynamic scope that matters, not the lexical scope, but yes,
that's exactly what's happening.  The stack doesn't get unwound before an
uncaught exception gets written to stderr.  I concur that this is a bug.

-zefram

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