Catman..._string(3pm)

πŸ“¦
version 1.2025 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

✨ 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