Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tail log files with state between runs
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
debian
lib/File
t
Changes
MANIFEST
Makefile.PL
README

README

File::LogReader - tail log files with state between runs

Tail log files across multiple runs over time.

    use File::LogReader;

    my $lr = File::LogReader->new( filename => $filename );
    while( my $line = $lr->read_line ) {
        # do stuff with $line
    }
    $lr->commit;

This module makes it easy to periodically check a file for new content
and act on it.  For instance, you may want to parse a log file whenever
it is updated.


The code is kept in a git repository at:

  http://github.com/lukec/cpan-file-logreader

Something went wrong with that request. Please try again.