in reply to overwrite last line printed
sub dPrint { my ($text, $handle) = @_; print $text; print $handle $text; } [download]
Alternately, just do ....... until it finishes. Maybe one . per 5% or a certain number of records or whatever?