NAME

App::loggrep - quickly find relevant lines in a log searching by date

VERSION

version 0.002

METHODS

new

App::loggrep->new( $log, $opt );

Constructs an uninitialized grepper. The $log file is a file name and the $opt parameter a Getopt::Long::Descriptive::Opts object.

init

Validates all parameters and compiles regexes, returning a list of error messages.

grep

Perform the actual grep. Lines are printed to STDOUT.

AUTHOR

David F. Houghton <dfhoughton@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by David F. Houghton.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.