We don't bite newbies here... much | |
PerlMonks |
Re: Tailing a log file using seek/tellby rinceWind (Monsignor) |
on Mar 17, 2007 at 13:31 UTC ( [id://605276]=note: print w/replies, xml ) | Need Help?? |
On some operating systems, you need to actually close and reopen the file in order for it to see that the EOF has moved. You can use stat while the file is closed, to see whether the file has grown, hence whether it's worth opening it and reading the next chunk. Hope ths helps. --
In Section
Seekers of Perl Wisdom
|
|