in reply to One-liner only checking the first line of the input file
Your code and data as given work for me. The output (on perl v5.20.3) is:
10 340 40 240
Are you sure your data set is what you think it is? Does adding -w to the options do you any good?
|
---|
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 14:44 UTC | |
by hippo (Bishop) on Nov 11, 2015 at 15:05 UTC |
In Section
Seekers of Perl Wisdom