| Log-Accounting-CSV documentation | view source | Contained in the Log-Accounting-CSV distribution. |
Log::Accounting::CSV - Accounting CSV format Data
my $acc = Log::Accounting::CSV->new(file => 'log.csv'); $acc->process; $acc->report;
This module make the use of Algorithm::Accounting, and generate accounting information from general CSV files. It parse CSV file, and feed rows into an Algorithm::Accounting object, and provides result() wrapper which return the result.
You may set a first_line_are_fields flag parameter to indicate
the first line of given CSV file are actually field names. So
Log::Accounting::CSV would automatically generate field names
for you. Otherwise you'll have to provide field names by yourself.
You may give an only_fields parameter (arrayref) to indeicate
that you only want to generate the result for these fields. It'll
save much memorry while the among of data is huge.
Copyright 2004 by Kang-min Liu <gugod@gugod.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
| Log-Accounting-CSV documentation | view source | Contained in the Log-Accounting-CSV distribution. |