in reply to Re: Control M's with File::Copy
in thread Control M's with File::Copy

When you open() a file, it implies you are going to print() to the file.

copy() does not require open()-ing a file.

Actually, File::Copy will accept a filename or a filehandle, opened for whatever reason. It's poor coding style, but it (apparently) will work.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.