in reply to Re^2: Remove new line characters from PCL file
in thread Remove new line characters from PCL file

Aside from being the default value for $/ (the end of line marker when reading), line feeds aren't special to Perl. Perl doesn't apply any formatting (contrary to what you claim).

maybe using the ':raw' command would that work?

That would prevent CR+LF from being transformed to LF when reading in Windows. You can use it as follows:

binmode($FILE);