I have a loop which processes a very large list of items. For each item it processes, it prints a dot to stdout (the console). However, instead of watching my "line of dots" growing until the last item is done, all of the items get processed and then I see all the dots appearing at once. Is there an equivalent to C's flush() function for Perl ?
Originally posted as a Categorized Question.
In reply to How to flush output to the console? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |