Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: chomp() is confusing

by Anonymous Monk
on Oct 06, 2013 at 18:35 UTC ( #1057181=note: print w/ replies, xml ) Need Help??


in reply to Re^3: chomp() is confusing
in thread Why chomp() is not considering carriage-return

Good news, as of Perl 5.1, you can use the \R $line =~ s/\R//g; It will figure it out.


Comment on Re^4: chomp() is confusing

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2015-07-03 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls