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


in reply to Re^2: Perl Files Corrumpted (\r)
in thread Perl Files Corrumpted

You can also do that with nothing more than Wordpad from Windows Progams->Accessories. It will display the file properly. If you hit the save button, it will save the file with the correct \r\n line endings.