Mike's question from 2007-05-01 10:39
As standard I seem to output a file which when i read back in i see
what appears to be double line spacing. If i open the file in vi i see ^M chars at the end of each line.
How do i get rid of this to give me a regular file?
For an explanation and a solution see: http://perldoc.perl.org/functions/binmode.html