http://www.perlmonks.org?node_id=971940


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?