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

Re^3: Native newline encoding (more liberal)

by Anonymous Monk
on May 23, 2012 at 03:54 UTC ( #971940=note: print w/replies, xml ) Need Help??

in reply to Re^2: Native newline encoding (more liberal)
in thread Native newline encoding

That seems like something that is quite unlikely to be what one should do. That might make sense when trying to use a Unix system to write a text file that will be used by some MS Windows program(s).

You mean like this exact situation? user wants notepad.exe to open .ini file and for it to work?

For the most common case, you should replace that 'binmode' code with this code:

What code?

  • Comment on Re^3: Native newline encoding (more liberal)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://971940]
[erix]: thanos1983: s/ For login purposes / For logging purposes / # I suppose ...
[r@j]: Actully $Process_Java this is getting from config file
[Discipulus]: choroba so much work porting from C and the resulting code exceed the 2 sec limit.. ;=(

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2017-10-23 15:42 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (280 votes). Check out past polls.