Oops. You mean $/ (INPUT_RECORD_SEPARATOR) instead of $\ (OUTPUT_RECORD_SEPARATOR)
chomp works on $/
In reply to Re: Re: chomp() problems by fglock in thread chomp() problems by Anonymous Monk