On Tue, 4 Sep 2001, John Way wrote:
> I have been asked to see if perl writes to a filehandle <OUTPUT> directly
> or if the data is buffered? If it is buffered, is there a command in perl
> like the c command "flush"?
Setting $| to true will turn on autoflushing -- your data buffer will get
flushed after every printf, print or write. Note that $| does not turn
off buffering. It just automatically flushes the buffer for you.
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
My doctorate's in Literature, but it seems like a pretty good pulse to me.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]