Odd, unexpected results.
With the following code, I get the expected output to my display with every-10,000th record. However, if I replace "\n" (newline) with "\r" (return), I get nothing showing until the last cycle, which in this case is 350,000.
Any ideas why "return" won't display, but "newline" does?
while(<IN>) {
if($. % 10000 == 0) {
print "Now working on record $.\n";
}
}