Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Control M's with File::Copy

by snadra (Scribe)
on Jul 21, 2003 at 14:50 UTC ( #276306=note: print w/replies, xml ) Need Help??


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

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"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://276306]
help
Chatterbox?
[marto]: good morning all
[Corion]: Hi marto! ;)
[Discipulus]: morning both!
[Corion]: Hi Discipulus!
[Corion]: My pictures from the vacation are now online ;)
[Discipulus]: welcome back Aristotle!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-02-27 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (378 votes). Check out past polls.