Try:
    $|++;
to unbuffer STDOUT.

Hope this helps - Tobias



On Aug 10, 2008, at 4:16 PM, "Daniel Burgaud" <[EMAIL PROTECTED]> wrote:

> Hi
>
> I have a simple script that uses print in a loop to update the
> screen something like this:
>
> for ( ) {
>     .
>     .
>     .
>     print ".";
> }
> print "\n";
>
> The problem, while within the loop, the screen does not update. Only
> once print "\n" is encountered
> will the screen display the whole printout.
>
> How do I ensure that each print gets displayed immediately without
> having to wait for the newline?
>
> Dan
> _______________________________________________
> Perl-Win32-Users mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to