The stupid question is the question not asked | |
PerlMonks |
Re^3: "chomp" not workingby JavaFan (Canon) |
on May 02, 2012 at 23:45 UTC ( [id://968587]=note: print w/replies, xml ) | Need Help?? |
There is a carriage return at the end of each line. @arr1 before the chomp should like like above when printed out.You are splitting on newlines. Why do you expect them to still be there?
In Section
Seekers of Perl Wisdom
|
|