Algorithm-Accounting
view release on metacpan or search on metacpan
lib/Algorithm/Accounting.pm view on Meta::CPAN
# Generate report to STDOUT
$acc->report;
# Get result
my $result = $acc->result;
# Get result of a specific field.
my $author_accounting = $acc->result('author');
# Reset current result so we can restart
$acc->reset;
=head1 DESCRIPTION
C<Algorithm::Accounting> provide simple aggregation method to make log
accounting easier. It accepts data in rows, each rows can have many
fields, and each field is a scalar or a list(arrayref).
The basic usage is you walk through all your logs, and use append_data()
to insert each rows, (you'll have to split the line into fields),
( run in 0.224 second using v1.01-cache-2.11-cpan-0d8aa00de5b )