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 rules formula), 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