CQL::ModifierSet(3pm)

πŸ“¦
version 1.13 Β· 2 versions
  • 1.13 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.13 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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