NAME
XAS::Logmon::Input::Tail::Default - The default mixin class for tailing files.
SYNOPSIS
use XAS::Logmon::Input::Tail;
my $input = XAS::Logmon::Input::Tail->new(
-filename => File('/home/kesteb/tukwils.lg')
);
while (my $line = $input->get()) {
}
DESCRIPTION
This package provides a default mixin for tailing files. It uses a fairly simplestic method for tailing files.
METHODS
get
Returns one line from the tailed file or undef if the file is moved or deleted.
SEE ALSO
- XAS::Logmon::Input::Tail::Linux
- XAS::Logmon::Input::Tail::Win32
- XAS::Logmon::Input::Tail
- XAS::Logmon
- XAS
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (c) 2012-2015 Kevin L. Esteb
This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.