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 ";
In reply to Flushing output to STDOUT by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |