Fixes #7390: Change global variable $/ to $INPUT_RECORD_SEPARATOR.