Biblio::COUNTER::Processor::Simple(3pm)

Biblio::COUNTER::Processor::Simple3pm

Simple counter report processor

Usage

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

Overview

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.

To do

Document in detail the output that's produced.

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Bugs

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

Author

Paul Hoffman (nkuitse AT cpan DOT org)

From libbiblio-counter-perl 0.11-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.