in reply to Re^2: Perl Issue - File downloaded in windows has a Control M character in it??
in thread Perl Issue - File downloaded in windows has a Control M character in it??
You can rewrite unix2dos in Perl using PerlIO :crlf output layer.open my $f,"<:raw","file.csv" || die $!; my $c; for (1..8) { for (1..16) { read $f,$c,1 || exit 0; print unpack "H2",$c; } print "\n"; }
|
|---|