Paul Hoffman > Biblio-COUNTER-0.11 > Biblio::COUNTER::Processor::Simple

Download:
Biblio-COUNTER-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Biblio::COUNTER::Processor::Simple - simple COUNTER report processor

SYNOPSIS ^

    use Biblio::COUNTER::Processor::Simple;
    $processor = Biblio::COUNTER::Processor::Simple->new;
    $processor->ignore(@events);
    $report = $processor->run;

DESCRIPTION ^

Biblio::COUNTER::Processor::Simple processes a COUNTER report and prints a verbose stream of data from the report to standard error, while printing the report with corrections to standard output.

PUBLIC METHODS ^

new(%args)
    $foo = Biblio::COUNTER::Processor::Simple->new;
run($file)
    $report = $processor->run($what);

Process the given report.

$what may be a file handle, the name of a file, or an instance of (a subclass of) Biblio::COUNTER::Report.

ignore(@events)
    $processor->ignore(qw/line input output/);

Specify the events to ignore. The various events are documented in Biblio::COUNTER.

INHERITANCE ^

Biblio::COUNTER::Processor::Simple is designed to be inheritable.

BUGS ^

There are no known bugs. Please report bugs to the author via e-mail (see below).

TO DO ^

Document in detail the output that's produced.

AUTHOR ^

Paul Hoffman (nkuitse AT cpan DOT org)

COPYRIGHT ^

Copyright 2008 Paul M. Hoffman.

This is free software, and is made available under the same terms as Perl itself.

SEE ALSO ^

Biblio::COUNTER

Biblio::COUNTER::Report

Biblio::COUNTER::Report::Processor

syntax highlighting: