For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2007 > AW: Problem in opening the file using Tail Module









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author AW: Problem in opening the file using Tail Module
Angerstein

2007-08-29, 7:59 am

Buffering is a problem, when you are printing to files or pipes.
The Systems don=B4t write everything right away to disc. It waits until =
it
has some time for it or the buffer is full.
If you disable buffering, you write without wait for the cost of
performance.
(if you want to write with no buffering at all you use syswrite and only
write 1 char at a time.)

-----Urspr=FCngliche Nachricht-----
Von: sivasakthi [mailto:msivasakthi@gmail.com]=20
Gesendet: Mittwoch, 29. August 2007 12:13
An: Jeff Pang
Cc: beginners perl
Betreff: Re: Problem in opening the file using Tail Module


i didn't get your point , please explain little bit more...

Thanks,
Siva

On Wed, 2007-08-29 at 17:55 +0800, Jeff Pang wrote:
[color=darkred]
> I tested the codes,which run well for me.
> Give a try to add '$|++' to disable IO buffer.
>=20
> 2007/8/29, sivasakthi <msivasakthi@gmail.com>:

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com