use strict; my $count = 1; my $line = 0; while () { $line++; $count = 1, next if /^
/; die "out of order at line $line!" if // && $1 != $count++; } __DATA__
Ability-oriented motivation, 00206.p0105
Ability test in conjunction with achievement batteries, 00226.p0085 definition, 00226.g0005
Aboriginal athletes, 00954.p0155 Absolutism, 00688.p0010