http://qs321.pair.com?node_id=276306


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