Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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...

Replies are listed 'Best First'.
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?
[Tux]: He already knows: his reasons
[Discipulus]: ah thanks Tux; maybe I'll try anyway: marioroy is somehow very new in the Perl world: maybe he understimated the range of antilehmanism
[Discipulus]: good monrnig Corion! and...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-09-20 07:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (234 votes). Check out past polls.

    Notices?