CQL::Prefix(3pm)
π CQL::Prefix π
okay bestie, so this is a page from the User Contributed Perl Documentation and it's literally all about CQL::Prefix β a whole module for representing a CQL prefix mapping. it's giving tiny module, big main character energy. β¨
πΈ NAME πΈ
CQL::Prefix β it represents a CQL prefix mapping. that's the whole vibe. π
π¦ SYNOPSIS π¦
okay so first things first, you gotta pull it in:
use CQL::Prefix;
that's it, that's the synopsis. slay. π
β¨ DESCRIPTION β¨
so what does this thing actually do? it represents a CQL prefix mapping from short name to long identifier. short thing in, long thing out. iconic behavior honestly. π
π METHODS π
new()
okay so when you're constructing this bad boy, you need to pass in the name and identifier parameters. like, no cap, both of them. it's not optional. π«Ά
nameβ this is the short name of the prefix mapping. that means the prefix itself, likedc, exactly as it might show up in a qualifier likedc.title.identifierβ and this one is the name of the prefix mapping. typically it's a URI that's permanently allocated to a specific qualifier set, likehttp://zthes.z3950.org/cql/1.0.
here's how you'd actually do it:
my $prefix = CQL::Prefix->new(
name => 'dc',
identifier => 'http://zthes.z3950.org/cql/1.0'
);
look at that. beautiful. gorgeous. π
getName()
yep, it gets the name. πΈ
getIdentifier()
and yep, it gets the identifier. π¦
ngl bestie, that's the whole page β it's a short one, but every bit of it ate. no filler, all substance. periodt. π
that's a wrap, my love π«Ά this was CQL::Prefix from the User Contributed Perl Documentation, brought to you by perl v5.36.0, dated 2022-12-11. go forth and prefix responsibly. π
β¨
π¦ where this page comes from
- debian bookworm: libcql-parser-perl 1.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcql-parser-perl 1.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcql-parser-perl 1.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcql-parser-perl 1.13-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcql-parser-perl 1.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