Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Log::Accounting::CSV
Accounting CSV format Data

Log::Accounting::CSV - Accounting CSV format Data


NAME


  Log::Accounting::CSV - Accounting CSV format Data


SYNOPSIS


  my $acc = Log::Accounting::CSV->new(file => 'log.csv');

  $acc->process;

  $acc->report;


DESCRIPTION

This module make the use of the Algorithm::Accounting manpage, and generate accounting information from general CSV files. It parse CSV file, and feed rows into an the Algorithm::Accounting manpage 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

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>

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy