CQL::ModifierSet(3pm)
π CQL::ModifierSet π
okay bestie, so this is a page from the User Contributed Perl Documentation collection β it's CQL::ModifierSet(3pm), and no cap, it's a little gem. let's get into it π«Ά
β¨ NAME β¨
CQL::ModifierSet β it represents a base string plus a bunch of modifier strings. that's the whole vibe. π
β¨ SYNOPSIS β¨
okay so. bestie. there is literally nothing here. the synopsis is empty. iconic of it honestly π moving on!!
β¨ DESCRIPTION β¨
so this class is used as a delegate by both CQLRelation and CQLProxNode β which, fun fact, are two functionally very separate classes that just happen to need the same kind of data structures and functionality. like when you and your bestie show up in the same outfit but for completely different reasons. slay πΈ
a ModifierSet is made of a "base" string together with a set of zero or more type=value pairs, where both type and value are strings. and here's the tea: types may be null, but values may not. so don't you dare try it. π
β¨ METHODS β¨
new()
creates a new modifier set with the specified base. fresh start, main character energy π
getBase()
returns the base string that the modifier set was created with. it's giving "remember where you came from" π¦
addModifier()
adds a modifier of the specified type and value to a modifier set. collecting them like stickers β¨
modifier()
returns a modifier with a given type, or null if a modifier of that type isn't present. so if it's not there, you get nothing. vibe check failed, respectfully π
getModifiers()
returns a list of modifiers, each represented by a 2 element array ref. little pairs, one for each. adorable π
toCQL()
toSwish()
toXCQL()
fr fr, that's everything the page gives us on those three β just their names, no details. we don't make stuff up in this house π
and that's the whole thing, bestie!! this doc came from perl v5.36.0, dated 2022-12-11, and it lives at CQL::ModifierSet(3pm). go forth and modify your sets, queen ππ
π«Ά
π¦ 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