in reply to Re^2: counting lines in perl
in thread counting lines in perl

You are correct. My code is flawed. For some reason I thought uniq -c sorted the file first, but it doesn't. My mistake.

davidj