in reply to Re: updating stdout
in thread updating stdout

Yes, dont't forget the flushing! :)

But if you want to avoid extra blanks, I recommend printf and perhaps to "cut" your output. Like
printf( "%-60s\r", substr $line, -60 );

k