Catman..._false(3pm)
π NAME π
okay bestie, meet Catmandu::Fix::Condition::is_false π β she's the condition that only lets your fixes run when all the path values are the boolean false, 0, or "false". that's it, that's her whole job, and she's slaying it π
β¨ SYNOPSIS β¨
if is_false(data.*.has_error)
...
end
# strict only matches a real bool, not 0 or "0" or "false"
if is_false(data.*.has_error, strict: 1)
...
end
so like, no cap, that first one vibes with anything falsy-ish (the real boolean false, a 0, or the string "false" β all of them pass the vibe check πΈ).
then the second one? she's in her strict era π with strict: 1, and strict means strict, fr fr β she only matches a real bool, so 0, "0" and "false" can absolutely NOT sneak in π the audacity of them to even try.
lowkey important: this is a condition, so it gates whether the fixes inside it run at all. no match, no fixes, periodt.
π¦ SEE ALSO π¦
Catmandu::Fixβ go hang out with the main character, she explains the whole fix situation π
k bye bestie, go write some iconic fixes π«Ά
this lil page came from the User Contributed Perl Documentation, living its life as Catman..._false(3pm) in the perl v5.40.1 universe, dated 2026-01-24 β
π¦ where this page comes from
- ubuntu resolute: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-perl 1.2025-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms