in reply to "chomp" not working
What is in $var, what are the results of the print, and what are you expecting?
I expect both prints to print out the same. After all, the chomp has nothing to do, as there will be no newlines left after the split.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: "chomp" not working
by cuautemoc (Initiate) on May 02, 2012 at 23:29 UTC | |
by JavaFan (Canon) on May 02, 2012 at 23:45 UTC | |
by AnomalousMonk (Archbishop) on May 02, 2012 at 23:57 UTC |
In Section
Seekers of Perl Wisdom