http://qs321.pair.com?node_id=968584


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.