Catman..._string(3pm)
β¨ NAME β¨
Catmandu::Fix::Condition::is_string β bestie, this one only runs your fixes when every single path value is a string π no cap, it's a vibe check for your data and it does NOT let non-strings through the velvet rope.
π¦ SYNOPSIS π¦
if is_string(data.*)
...
end
Likeβ¦ that's the whole thing. data.* walks every value under data, and the if block only fires when all of them are strings. end closes it out, periodt. π
πΈ ngl the ... in the middle is where your fixes go β the manpage keeps it mysterious, so we keep it mysterious too. iykyk.
π SEE ALSO π
Catmandu::Fixβ the mothership π go here if you wanna know how fixes and conditions actually hang out together.
okay that's genuinely it, she's a short one but she's iconic β¨
This page comes from the User Contributed Perl Documentation crew, and it's flying the perl v5.40.1 flag, dated 2026-01-24 β so like, bookmark it, screenshot it, whatever, but that's the version tea π«Άπ
π¦ 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