in reply to Re: How do I get rid of the cr/lf
in thread How do I get rid of the cr/lf

take a look at $/. Setting that should make chomp work