Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2017-11-22 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (326 votes). Check out past polls.

    Notices?