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 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

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