Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!rex!ames!sun-barr!decwrl!nsc!taux01!tasu74!crehta From: crehta@tasu74.UUCP (Ran Ever-Hadani) Newsgroups: comp.lang.perl Subject: Non buffered output Message-ID: <3146@taux01.UUCP> Date: 27 Dec 89 08:30:09 GMT Sender: netnews@taux01.UUCP Reply-To: crehta@taux01.nsc.com (Ran Ever-Hadani) Organization: National Semiconductor (IC) Ltd, Israel Lines: 45 Is there a way to force the statement print "."; to put a dot on the screen immediatly after it is issued, rather than after the output buffer is full? Below I explain why I need this, just in case anybody is interested. Thanks -- Ran ---------------------------------------------- I have a perl program which is divided to stages. I would like to print out a dot every time a stage finishes, so that an output such as doing...................done is gradually produced. My program looks something like print "doing"; print "."; print "."; . . . print "done\n"; Having the entire line printed out only when the program finishes (as it does now) is not very useful. ----------------------------------------------- Reply-To: crehta@taux01.nsc.com (Ran Ever-Hadani) Disclaimer: The above is to be attributed to me only, not to any organization. Apology: Bad English. E-mailed spelling and style corrections are welcome.