http://qs321.pair.com?node_id=20838


in reply to Altering the value of "$/"

From the perlman:perlvar page
Works like awk's RS variable, including treating empty lines as delimiters if set to the null string. ... You may set it to a multi-character string to match a multi-character delimiter, or to undef to read to end of file.
The values of '' and undef both have pre-defined meanings in the context of the $/ variable.