develooper Front page | perl.perl5.porters | Postings from December 2013

Re: [perl #115552] STDIN and :utf8 don't play nice

Thread Previous
From:
Eric Brine
Date:
December 16, 2013 16:21
Subject:
Re: [perl #115552] STDIN and :utf8 don't play nice
Message ID:
CALJW-qHXC9Bna0cQW7kLTu6yaqKGdV1xc3cuGSGv-rx7RngbkA@mail.gmail.com
On Sat, Dec 14, 2013 at 8:44 AM, James E Keenan via RT <
perlbug-followup@perl.org> wrote:

> It appears from your response that you believe this is not a bug, just a
> misunderstanding on the part of the OP.
>

No, not at all. I simply added additional information about the problem.

I can replicate the OP's behaviour using 5.18.0, and it does seem wrong.

Note that adding C<< close(STDIN); >> before the open fixes the problem.
The problem doesn't appear to be limited to STDIN, but to opened handles in
general.

Thread Previous


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