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. π$selfcontains 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
- 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