Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: How to remove a carriage return (\r\n)

by 3dbc (Scribe)
on Nov 13, 2012 at 16:13 UTC ( #1003650=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to remove a carriage return (\r\n)
in thread How to remove a carriage return (\r\n)

$line =~ s/\R//g;
  • Comment on Re^3: How to remove a carriage return (\r\n)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003650]
help
Chatterbox?
[Eily]: for what it's worth I didn't go for the brightest solution either
[Eily]: I tried print eval '2+1/3*(2+2/5))' or print $@
[Eily]: and therefore concluded that the eval did succeed because there was no printed error :P
[Eily]: stupid operator precedence :D

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-10-24 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (287 votes). Check out past polls.

    Notices?