at the top of your script, so it will print immediately.$|++;
If you put a newline "\n" in your print statement, it will print immediately in your loop; but with no newline, you won't get a print until 2k is ready to print, and it will all come out in 2k chunks.
In reply to Re: perl loop counter
by zentara
in thread perl loop counter
by cutlass2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |