Catman...er::RIS(3pm)
π NAME π
Okay bestie, so this is the manual page for Catmandu::Exporter::RIS β it's a 3pm (a Perl module page, iykyk), living in the User Contributed Perl Documentation corner of the internet. And what is it? It's a RIS exporter. That's the whole vibe. β¨
π fun fact: the header of this page got so aggressively truncated it literally reads Catman...er::RIS(3pm), which is giving "textbook name tag that ran out of room". Not me fixing it, just pointing at it. π
β¨ SYNOPSIS β¨
use Catmandu::Exporter::RIS;
my $exporter = Catmandu::Exporter::RIS->new(fix => 'myfix.txt');
$exporter->add_many($arrayref);
$exporter->add_many($iterator);
$exporter->add_many(sub { });
$exporter->add($hashref);
$exporter->add({
TI => 'the Zen of CSS design',
AU => ['Dave Shea','Molley E. Holzschlag'],
IS => '0-321-30347-4'
});
printf "exported %d objects\n" , $exporter->count;
Likeβ¦ look at her. She's got add_many for arrayrefs, iterators AND bare subs, she's got plain old add for a single hashref, and she'll tell you exactly how many objects she exported with count. Multitasking queen. π
π¦ DESCRIPTION π¦
So here's the tea: the RIS exporter wants you to hand it a Perl hash (or a fix) β and inside that hash you put RIS fields and values, where each value is either a string or an array reference. That's the whole requirement. Feed the queen her hash and she eats. π
πΈ SUPPORTED FIELDS πΈ
Here's the full guest list β every field she'll take, no plus-ones invented:
TY ID T1 TI CT T2 BT T3 A1 AU A2 ED A3 Y1 PY Y2 N1 AB N2 KW RP
JF JO JA J1 J2 VL IS CP SP EP CY PB SN AD AV M1 M2 M3 U1 U2 U3 U4 U5
UR L1 L2 L3 L4
All fourtyβokay I'm not counting out loudβall of them. π
π SEE ALSO π
Catmandu::Exporterβ her parent, her origin story, the blueprint. Go read it, fr fr. π«Ά
That's the page!! You understood it, you slayed it, you're literally the main character of data export rn. ππ
Signed off by perl v5.36.0, dated 2023-02-04 β aka the era this page was born in. Iconic, timeless, no cap. β¨π
π¦ where this page comes from
- debian bookworm: libcatmandu-ris-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-ris-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-ris-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-ris-perl 0.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-ris-perl 0.13-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