Config...pValue(3pm)
π NAME π
Config::Model::models::Itself::WarpValue β bestie, it's a configuration class. The whole vibe is Itself::WarpValue, and it's giving very niche, very powerful. π¦
β¨ DESCRIPTION β¨
Okay so these are the configuration classes that Config::Model uses, and this one is the blueprint for warping. π
The warp functionality is lowkey iconic: it lets a Value object change its own properties β like its default value, or its type β dynamically, based on the value of another Value object that lives somewhere else in the configuration tree. It's literally a glow-up that happens at runtime, triggered by someone else's drama. π
π§ Elements
π follow
This is where you say which configuration element is the one driving the warp β i.e. the elements that control the property change. You specify them with two things:
- a variable name (this is what gets used in the
rulesformula), and - a path to go fetch the actual value.
Example: $country => " ! country"
Optional, bestie. Optional! Type: hash of uniline.
πΈ rules
Each key of this ordered hash is a test β written as a formula, using the variables you defined over in the follow element. They get tried in sequence, and each one applies its associated effects. Here's the tea though: only the first match is applied. First one to hit, wins. No second chances, periodt. π
Optional. Type: hash of warped_node.
π SEE ALSO π
cme
Not a single option skipped, not a single detail dropped. We keep the facts and serve the flair. π«Ά
That's the whole page, gorgeous. Docs from perl v5.40.1, dated 2026-03-10, for the manual page Config...pValue(3pm) β mwah, go warp something. πβ¨
π¦ where this page comes from
- ubuntu resolute: libconfig-model-itself-perl 2.027-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms