freebsd-ports/devel/p5-Algorithm-Accounting/pkg-descr
Cheng-Lung Sung 718f5dba69 - This Perl module generate accounting statistic for general logs
PR:		ports/73488
Submitted by:	Yuan-Chung Hsiao <ychsiao AT ychsiao dot org>
2005-01-25 07:00:40 +00:00

13 lines
614 B
Text

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), and
then call result() to retrieve the result, or report() to immediatly
see simple result.
You may specify a filed_groups parameter (arrayref of arrayref), and
Algorithm::Accounting will account these fields in groups.
WWW: http://search.cpan.org/dist/Algorithm-Accounting