Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 meditating upon the Monastery: (7)
As of 2017-02-26 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.