Filewatcher File Search File Search
Content Search
» » » » » »


Perl extension for reading from continously updated files

The primary purpose of File::Tail is reading and analysing log files while they are being written, which is especially useful if you are monitoring the logging process with a tool like Tobias Oetiker's MRTG.
Package version:0.99.3


The File::Tail module is designed for reading files which are continously
appended to (the name comes from the tail -f directive). Usualy such files are
logfiles of some description.

The module tries hard not to busy wait on the file, dynamicaly calcultaing 
how long it should wait before it pays to try reading the file again.

The module should handle normal log truncations ("close; move; open"



Tail(3)          User Contributed Perl Documentation         Tail(3)

       File::Tail - Perl extension for reading from continously
       updated files

         use File::Tail;
         while (defined($line=$file->read)) {
             print "$line";

         use File::Tail;


Revision history for Perl extension File::Tail.

0.01  Fri Nov 28 09:44:06 1997
	- original version; created by h2xs 1.18

0.5   Fri Nov 28 12:25:13 MET 1997
	- original version; created by

0.6   Thu Dec  4 14:16:59 MET 1997
	- assigning error values to $! didn't work. Replaced with croaks.
	- passing only the filename didn't work.

0.7   Mon Jun  1 17:23:23 MET 1998

Browse inside perl-File-Tail-0.99.3-5.el4.1.noarch.rpm

939 B2014-11-26HEADER  view  279+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-File-Tail-0.99.3-5.el4.1.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016