Biblio...Simple(3pm)
β¨ Biblio::COUNTER::Processor::Simple β the manual page, but make it cute β¨
okay so this is Biblio::COUNTER::Processor::Simple from the User Contributed Perl Documentation, and bestie, it's giving simple COUNTER report processor π
that's literally the whole name, no notes.
πΈ SYNOPSIS πΈ
use Biblio::COUNTER::Processor::Simple;
$processor = Biblio::COUNTER::Processor::Simple->new;
$processor->ignore(@events);
$report = $processor->run;
like. three lines. iconic. no cap. π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea, Biblio::COUNTER::Processor::Simple processes a COUNTER report and β and this is the fun part β it prints a verbose stream of data from the report to standard error, while printing the report with corrections to standard output. so it's yapping on stderr and delivering the goods on stdout. main character behavior, honestly. π
π PUBLIC METHODS π
π new(%args)
$foo = Biblio::COUNTER::Processor::Simple->new;
that's it, that's the constructor, she's born β¨ (yes the example variable is $foo, we don't question the classics)
π run($file)
$report = $processor->run($what);
Process the given report. periodt. π
so $what can be any of these three things and honestly it's flexible like that:
- a file handle π
- the name of a file π
- an instance of (a subclass of)
Biblio::COUNTER::Reportπ
π ignore(@events)
$processor->ignore(qw/line input output/);
Specify the events to ignore. like a soft block, but for events π the various events are documented in Biblio::COUNTER β go read that one, bestie, iykyk.
π§ INHERITANCE π§
Biblio::COUNTER::Processor::Simple is designed to be inheritable. yes she's a mother. she raises subclasses. π
π BUGS π
There are no known bugs. flawless, unbothered, no notes. β¨
but if you DO find one, please report bugs to the author via e-mail (see below). do not suffer in silence, bestie, that's not the vibe. π
π TO DO π
Document in detail the output that's produced. (ngl the docs are lowkey manifesting this one fr fr) π
πΈ 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::COUNTERBiblio::COUNTER::ReportBiblio::COUNTER::Report::Processor
and that's the whole page, babes π this one shipped with perl v5.36.0 and is dated 2023-02-04 β so if you're reading this from the future, hi, slay, hope the COUNTER reports are processing beautifully. go be the processor you want to see in the world. π¦β¨π
π¦ where this page comes from
- debian bookworm: libbiblio-counter-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbiblio-counter-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbiblio-counter-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libbiblio-counter-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbiblio-counter-perl 0.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms