perl-doc-cats/perlfaq — pull request #33 by mhasch (2012-06-22 17:39:04+00:00)
Title: improved a file slurp example in perlfaq5

In a code example in perlfaq5, the slurped content of a file was assigned to an array @lines. This is misleading in that in slurp mode, at most one value is returned by the diamond operator, even in list context. I suggest to replace the @lines array by a $content scalar.