Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (input and output)
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to flush output to the console?⭐
by Anonymous Monk on Jun 30, 2000 at 18:53 UTC | |
by xhudik (Initiate) on Mar 13, 2012 at 16:06 UTC | |
Re: How to flush output to the console?⭐
by Anonymous Monk on Dec 01, 2003 at 09:37 UTC | |
Re: How to flush output to the console?
by Anonymous Monk on Jun 30, 2000 at 18:10 UTC | |
Re: Flushing the screen
by satchboost (Scribe) on Apr 19, 2001 at 02:10 UTC | |
Re: Flushing the screen
by Anonymous Monk on Mar 31, 2004 at 08:47 UTC |
Back to
Seekers of Perl Wisdom