in reply to perl loop counter
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl loop counter
by friedo (Prior) on Jul 18, 2008 at 15:56 UTC | |
by almut (Canon) on Jul 18, 2008 at 16:20 UTC | |
by zentara (Cardinal) on Jul 18, 2008 at 16:22 UTC | |
by massa (Hermit) on Jul 18, 2008 at 16:39 UTC |