Catman...:array(3pm)

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

πŸ’– 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