Don't ask to ask, just ask | |
PerlMonks |
Re: "chomp" not workingby bobf (Monsignor) |
on May 03, 2012 at 02:05 UTC ( [id://968606]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|