http://www.perlmonks.org?node_id=950928


in reply to Re: multiple OR match fails
in thread multiple OR match fails

yes, The input record separator, newline by default. $/ may be set to a value longer than one character in order to match a multi-character delimiter. If $/ is undefined, no record separator is matched, and <FILEHANDLE> will read everything to the end of the current file in one line.