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

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

Thread Previous
Eric Brine
December 16, 2013 16:21
Re: [perl #115552] STDIN and :utf8 don't play nice
Message ID:
On Sat, Dec 14, 2013 at 8:44 AM, James E Keenan via RT <> 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

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About