Config...Assert(3pm)

πŸ’– Config...Assert(3pm) πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation section of the manual β€” it's Config...Assert(3pm), and no, the dots aren't a typo, that's just how the header renders the long name. we're keeping it cute anyway. πŸŽ€


✨ NAME ✨

Config::Model::models::Itself::CommonElement::Assert β€” it's the Configuration class Itself::CommonElement::Assert. say that five times fast, I dare you. πŸ’…


🌸 DESCRIPTION 🌸

These are the configuration classes used by Config::Model. that's the whole vibe. short, sweet, iconic. πŸ‘‘


πŸ¦‹ Elements πŸ¦‹

code πŸ’»

Perl instructions that test the value, fr fr. $_ holds the value you're testing, and $self holds the value object.

use with care β€” that's straight from the source, not me being dramatic. $self is main character energy and main character energy can break things. 😭

Optional. Type: string. ✨


msg πŸ’¬

The warning message you show the user. "$_" contains the bad value β€” like, the value that failed the vibe check. example: "value $_ is bad".

Leave it blank or undef and you'll get a generated message instead, which is honestly the lowkey move if you can't be bothered. πŸ’…

Optional. Type: string. 🌸


fix πŸ› οΈ

Perl instructions to fix the value. these instructions may be triggered by the user, so it's giving "help me help you".

  • $_ contains the value to fix.
  • $_ is stored as the new value once the instructions are done β€” so whatever you leave in $_ at the end? that's the new value. no takebacks. πŸ‘€
  • $self contains the value object.
use with care on $self too, bestie. same energy as above. πŸ™ˆ

Optional. Type: string. ⭐


🌈 SEE ALSO 🌈

  • cme β€” go look at it, iykyk. 🫢

and that's the page!! this one shipped with perl v5.40.1 back on 2026-03-10, so if you're reading this way later, hi, hope the version still slaps. mwah, go configure something cute πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from