Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: "chomp" not working

by bobf (Monsignor)
on May 03, 2012 at 02:05 UTC ( #968606=note: print w/replies, xml ) Need Help??


in reply to "chomp" not working

As others mentioned, the split will remove the newlines. However, if there is still unexplained weirdness you might want to check to see if there is an issue with how a newline is defined. Cross-platform differences can cause headaches. See Newlines: reading files that were created on other platforms and similar.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968606]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-09-20 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (230 votes). Check out past polls.

    Notices?