NAME
ApacheLog::Parser::Report - configurable report extraction
SYNOPSIS
my $rep = ApacheLog::Parser::Report->new(conf => \%config);
$rep->load_config($config_filename); # maybe
my $func = $rep->get_func;
while(...) {
$func->($array_ref);
}
$rep->write_report($filename);
new
my $rep = ApacheLog::Parser::Report->new(conf => \%config);
_setup_config
$self->_setup_config;
load_config
$rep->load_config($config_filename); # maybe
get_func
my $func = $rep->get_func;
aggregate
$rep->aggregate($data);
print_report
my $string = $rep->print_report;
table_report
$rep->table_report(@files);
_greatest_hits
$self->_greatest_hits;
write_report
$rep->write_report($filename);
AUTHOR
Eric Wilhelm @ <ewilhelm at cpan dot org>
http://scratchcomputing.com/
BUGS
If you found this module on CPAN, please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
If you pulled this development version from my /svn/, please contact me directly.
COPYRIGHT
Copyright (C) 2007 Eric L. Wilhelm, All Rights Reserved.
NO WARRANTY
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.