Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 scrutinizing the Monastery: (15)
As of 2015-07-02 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls