vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I was getting the benefit of buffering in case of reading from the disk, But when I write log message to a file, I have not getting the message immediately, If I write to STDOUT its printing immediately because it is attached with terminal so it is lined buffer. To get log message immediately I use the select filenadle and set the $| to true. It will flush the buffer immediately, Instead of flushing the buffer can't we disable the buffering itself ?
Vinoth,G
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to turn off buffering ?
by lakshmananindia (Chaplain) on Jun 03, 2009 at 06:25 UTC | |
by Maran (Initiate) on Jun 04, 2009 at 10:12 UTC | |
Re: How to disable buffering ?
by sgifford (Prior) on Jun 03, 2009 at 06:44 UTC | |
Re: How to disable buffering ?
by targetsmart (Curate) on Jun 03, 2009 at 06:42 UTC | |
Re: How to disable buffering ?
by ig (Vicar) on Jun 04, 2009 at 03:14 UTC | |
by almut (Canon) on Jun 04, 2009 at 03:42 UTC |
Back to
Seekers of Perl Wisdom