Other people have already mentioned setting $| = 1 to stop perl buffering the output.
You also need to stop your web server buffering it. Ensure that your script’s filename starts nph-. (NPH stands for non-parsed headers.) You will also need to ensure that the http headers your script writes are terminated by a CRLF, as the web server will no longer do that for you.
In reply to Re: Progress bar with (i)threads (Buffering)
by Anonymous Monk
in thread Progress bar with (i)threads
by PockMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |