Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
There's more than one way to do things
 
PerlMonks  

Re^5: Perl Windows vs Cygwin installs

by Eliya (Vicar)
on Mar 24, 2012 at 00:30 UTC ( #961338=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Perl Windows vs Cygwin installs
in thread Perl Windows vs Cygwin installs

Yes, that's fine as a take home message.  Though it should be pointed out that the sequence of layers does work only in that exact order. I.e. simply adding the :crlf layer last is not sufficient, you also have to remove it left of the UTF-16 layer, which is what the :raw does.  In other words, saying ">:encoding(UTF-16LE):crlf" is not enough — not even with the new patch!  What adds to the unexpectedness is that some people might not even be aware that (on Windows, by default) there is another :crlf layer left of the UTF-16 layer when saying ">:encoding(UTF-16LE):crlf".

Anyhow, I was mostly commenting on p5140-Selected Bug Fixes — in particular on this statement

When binmode FH, ":crlf" pushes the :crlf layer on top of the stack, it no longer enables crlf layers lower in the stack, to avoid unexpected results [perl #38456].

which sounds as if it was meant to fix the issue...


Comment on Re^5: Perl Windows vs Cygwin installs
Select or Download Code
Re^6: Perl Windows vs Cygwin installs
by Anonymous Monk on Mar 24, 2012 at 03:37 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://961338]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-04-16 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (418 votes), past polls