Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
How do I make the 'foo' appear 10 seconds before the 'bar ' on the screen. At the moment it all appears when the program finishes. I have looked in the archives and found answers relating to CGI but I guess these are different circumstances.print "foo "; sleep 10; print "bar ";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Flushing output to STDOUT
by EdwardG (Vicar) on May 25, 2004 at 08:32 UTC | |
by BUU (Prior) on May 25, 2004 at 09:08 UTC |