in reply to Perl Issue - File downloaded in windows has a Control M character in it??
This problem has nothing to do with the version of perl; it's due to the way the file was transferred from the *nix system to the Windows system.
The usinx2dos program does not need to be put into the system32 directory. You can download it to your home directory and use it from there, or you can simply edit the file with Perl or with a decent text editor.
C:\>perl -pi.bak -e "s/\n/\r\n/g" yourfile
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl Issue - File downloaded in windows has a Control M character in it??
by venky144 (Initiate) on Oct 24, 2012 at 20:38 UTC |
In Section
Seekers of Perl Wisdom