in reply to Re^3: perl loop counter
in thread perl loop counter

try
for (1..6000){ print "$_ " ; print "\n" if /00$/; select (undef,undef,undef,.0001); }
and you'll see that when you give it a newline, it flushes.
[]s, HTH, Massa