Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: ActivePerl 5.6.1 Win32 munging CR/LFs

by wine (Scribe)
on Jul 24, 2001 at 22:41 UTC ( [id://99445]=note: print w/replies, xml ) Need Help??


in reply to ActivePerl 5.6.1 Win32 munging CR/LFs

I guess this is a bug. Executing your code on Linux results in the expected output.

I would just leave the \n out and use $\ if you want to force a line-ending in a print statement.

BTW: This strange line-ending (LF/CR) is used on apple computers.

Update I going to get some coffee ;)

  • Comment on Re: ActivePerl 5.6.1 Win32 munging CR/LFs

Replies are listed 'Best First'.
Re: Re: ActivePerl 5.6.1 Win32 munging CR/LFs
by luma (Novice) on Jul 24, 2001 at 22:57 UTC
    found it!

    binmode()

    i might add that mac's actually use a bare CR, not LF/CR.

    luma::s-video

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-25 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found