In the original post, I included the o/s along with the perl version (sun4-solaris-64int-ld). Sorry you missed it.
in reply to Re: Re: Re: Re: Re: Need a better way to count input lines
in thread Need a better way to count input lines
As I'm sure you suspected, each line ends with a CR (0d.) Were you looking for anything else?
I was assuming that the "== 15" was a line count, but it only printed 12 - that's all the data that's in the test file. Do you want more data?
%perl -nle' exit if $. == 15; print unpack "H*", $_' testdata.txt
(so many nodes and so little time ... )