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


in reply to One-liner only checking the first line of the input file

Since your code and data seem to be working under Unix, are you perhaps working under Windows (or old Mac) with a file prepared with an Unix format?

Under which OS are your working?

  • Comment on Re: One-liner only checking the first line of the input file

Replies are listed 'Best First'.
Re^2: One-liner only checking the first line of the input file
by TJCooper (Beadle) on Nov 11, 2015 at 15:14 UTC

    OS X (10.11.2)

    This is perl 5, version 18, subversion 2 (v5.18.2) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)

    File was prepared on the same system.