Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: ^M chars in output file

by codeacrobat (Chaplain)
on Nov 20, 2010 at 13:02 UTC ( #872665=note: print w/replies, xml ) Need Help??


in reply to Re: ^M chars in output file
in thread ^M chars in output file

Or just remove all ^M with a one-liner
perl -pi -e 'tr[\r][]d' file

print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://872665]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2021-09-17 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?