in reply to
Control M's with File::Copy
They are caused by Windows returns opened on a Unix system. For example after tranfering with FTP and using binary instaed of ascii mode.
You can remove them later on by using s/\r//g
snadra
Comment on
Re: Control M's with File::Copy
Replies are listed 'Best First'.
Re: Re: Control M's with File::Copy
by
nimdokk
(Vicar)
on Jul 21, 2003 at 17:28 UTC
I've also seen them generated on a Unix system by certain programs. Another way to remove them would be using
s/\015//g
.
"Ex libris un peut de tout"
[reply]
[d/l]
In Section
Seekers of Perl Wisdom