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


in reply to Re^3: golf: shortest way to parse a pipe delimited file
in thread golf: shortest way to parse a pipe delimited file

It doesn't fail for me with Perl 5.8.7.

My best guess is that your input had a blank line in it at the start or the end. That blank line would (legitimately from the spec) result in the output that you saw.

  • Comment on Re^4: golf: shortest way to parse a pipe delimited file