Catman...:array(3pm)
π NAME π
Catmandu::Fix::array β bestie, this fix literally turns a hash into an array β¨ (it's giving "glow up for your data structure")
π SYNOPSIS π
# tags => {name => 'Peter', age => 12}
array(tags)
# tags => ['name', 'Peter', 'age', 12]
πΈ DESCRIPTION πΈ
okay so here's the tea β β this fix function takes hash fields and transforms them into arrays. that's it, that's the whole job, and it does it flawlessly no cap π
but wait, there's more: string fields and array fields are left completely unchanged. it does not touch them. it does not come for them. it minds its own business π«Ά
π SEE ALSO π
Catmandu::Fix::hashβ the reverse vibe, iykyk πCatmandu::Fixβ the main character, the whole universe this little fix lives in π
kisses, this was the Catman...:array(3pm) page β part of the User Contributed Perl Documentation, shipped with perl v5.40.1, dated 2026-01-24 π¦ periodt πβ¨π
π¦ 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