in reply to Re: ^M chars in output file
in thread ^M chars in output file

roboticus:

This worked, however, it's important to point out that one must use binmode on both the input AND output file. This drove me nuts for awhile until I put the obvious together.

After reading the doc on binmode I gathered that Perl will automatically put the appropriate new line char at the end of the line for os your using.

Thanks