Fixes #7390: Change global variable $/ to $INPUT_RECORD_SEPARATOR.
Merge pull request #4645 from ehelms/fixes-7390

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