mvaline has asked for the wisdom of the Perl Monks concerning the following question:
When I run this, the program prints the first line: "Stage 1 of 3...", then prints "finished" and newlines, then it pauses flashing (presumably while it runs retrieve_punch_data()) and doesn't print "Stage 2 of 3..." until after it finishes. What's going on?print "\nStage 1 of 3: Processing employee data... "; retrieve_employee_data(); print "finished.\nStage 2 of 3: Processing punch data... "; retrieve_punch_data(); print "finished.\nStage 3 of 3: Creating output... "; output_db(); print "finished.\n\nProgram execution complete.\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Screen Output Buffering
by mortis (Pilgrim) on Aug 19, 2004 at 20:59 UTC | |
by Limbic~Region (Chancellor) on Aug 19, 2004 at 21:39 UTC | |
by mvaline (Friar) on Aug 19, 2004 at 21:12 UTC | |
by ikegami (Patriarch) on Aug 19, 2004 at 21:54 UTC | |
|
Re: Screen Output Buffering
by ikegami (Patriarch) on Aug 19, 2004 at 21:00 UTC | |
|
Re: Screen Output Buffering
by ccn (Vicar) on Aug 19, 2004 at 21:01 UTC |