NAME
Tail::Tool - Tool for sophisticated tailing of files
VERSION
This documentation refers to Tail::Tool version 0.3.5.
SYNOPSIS
use Tail::Tool;
# Brief but working code example(s) here showing the most common usage(s)
# This section will be as far as many users bother reading, so make it as
# educational and exemplary as possible.
my $tt = Tail::Tool->new(
files => [
'/tmpl/test.log',
],
Spacing => {
short_time => 2,
short_lines => 2,
long_time => 5,
long_lines => 10,
},
...
);
$tt->tail();
DESCRIPTION
SUBROUTINES/METHODS
tail ()
Description: Start tailing?
run ($file, $first)
Param: $file
- Tail::Tool::File - The file to run
Param: $first
- bool - Specifies that this is the first time run has been called.
run ( $file )
Runs the the tailing of $file
.
default_printer ( @lines )
Prints @lines
to STDOUT
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
INCOMPATIBILITIES
BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
LICENSE AND COPYRIGHT
Copyright (c) 2010 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW, Australia). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.