in reply to Control M's with File::Copy
I bet .data_file looks like that, too. There is no connection between copying the file and the presence of ^M. ^M is usually a problem when you copy a DOS file to Unix .... but you're on DOS, so it should be the normal state of affairs. What are you viewing the file with?
As far as your code is concerned ...
When you open() a file, it implies you are going to print() to the file.
copy() does not require open()-ing a file.
--
TTTATCGGTCGTTATATAGATGTTTGCA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Control M's with File::Copy
by dragonchild (Archbishop) on Jul 21, 2003 at 19:41 UTC |