Biblio...tebase(3pm)
π Biblio::Citation::Parser::Citebase π
okay bestie, so this one is a Perl module β it lives in the User Contributed Perl Documentation, section 3pm, and it's literally the citation-parsing queen of Citebase. pull up a chair, we're doing this. π
β¨ NAME β¨
Biblio::Citation::Parser::Citebase β Citebase's citation parsing module. that's it, that's the whole name section, she's simple and she knows it. π
πΈ DESCRIPTION πΈ
okay so real talk: this module is an updated β and, quote unquote, hopefully improved β version of Zhuoan Jiao's citation-parsing modules. so it's giving glow-up era, it's giving remix, it's giving "we took the OG and gave her a little something". π¦ no cap, that's the entire description, she's not wordy, she's efficient, we respect that. π
π SYNOPSIS π
here's the vibe, in code, verbatim, don't touch a single character bestie:
use Biblio::Citation::Parser::Citebase;
$parser = new Biblio::Citation::Parser::Citebase([$source_identifier]);
$metadata = $parser->parse($citation);
print "Author: ", $metadata->{aufirst}, " ", $metadata->{aulast}, "\n";
and now the methods, one by one, slay by slay:
$p = new Biblio::Citation::Parser::Citebase([$citation],[$source_identifier]);β create a new citation parser, and if you feel like it, it'll parse$citationwith$source_identifierright then and there. and listen β if a citation is given, the return blessed hash will contain the structured data. so like, the goods come pre-loaded. π«Ά$md = $p->parse($citation, [$source_identifier]);β this one parses a string,$citation, and hands you back a blessed hash of the structured data. that's the whole job. she parses. she returns. she leaves. π
quick reminder bestie: the return value is a blessed hash in both cases. blessed. hash. write it down. π
and that's the page, my love β brought to you by perl v5.36.0, dated 2022-11-19, from the good people over at User Contributed Perl Documentation. go forth and parse some citations, you absolute icon. πβ¨π¦
π¦ where this page comes from
- debian bookworm: libbiblio-citation-parser-perl 1.10+dfsg-4 Β· GPL-2.0-or-later
- debian trixie: libbiblio-citation-parser-perl 1.10+dfsg-4 Β· GPL-2.0-or-later
- ubuntu noble: libbiblio-citation-parser-perl 1.10+dfsg-4 Β· GPL-2.0-or-later
- ubuntu resolute: libbiblio-citation-parser-perl 1.10+dfsg-4 Β· GPL-2.0-or-later
- ubuntu stonking: libbiblio-citation-parser-perl 1.10+dfsg-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms