in reply to Re: chomp() problems
in thread chomp() problems

Oops. You mean $/ (INPUT_RECORD_SEPARATOR)
instead of $\ (OUTPUT_RECORD_SEPARATOR)

chomp works on $/