On Thu, May 28, 2009 at 06:23, sanket vaidya <sanket.vai...@patni.com> wrote:
snip
> This code gave some vague picture in my mind about flushing. To summarize
>
> When we write some data, the data is not written (to terminal or file)
> instantly, but is collected in buffer & is only written when the buffer is
> full. Once the buffer is full, the data is written & thereafter buffer is
> erased. This is known as flushing.
>
> Setting $| = 1 flushes the buffer as soon as it receives a data. So the
> buffer doesn't wait to collect specific amounts of data before flushing.
>
> Kindly elaborate this & correct me if I am wrong.
snip

That is it.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to