Catman...isassoc(3pm)

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

Catman...isassoc(3pm) πŸ’–

okay bestie, welcome to the little manual page for Catmandu::Fix::disassoc β€” yes the filename says Catman...isassoc, we don't ask questions, we just vibe πŸ’… it's part of the User Contributed Perl Documentation family and it's genuinely so useful.


✨ NAME ✨

Catmandu::Fix::disassoc β€” it's the inverse of assoc, and what it does is take a hash and glow it up into an array of key/value pairs πŸ¦‹


🌸 SYNOPSIS 🌸

so here's the moment. you start with a hash like this:

       # {fields => {subject => 'Perl', year => 2009}}

and then you hit it with:

       disassoc(fields, pairs, key, val)

and boom, you get:

       # {pairs => [{key => 'year', val => 2009}, {key => 'subject', val => 'Perl'}], fields => ...}

like. the way it just un-hashes your hash into a cute little array of pairs?? iconic. no cap. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

  • Catmandu::Fix::assoc β€” the other half of the duo, the one that goes the other way 🫢
  • Catmandu::Fix β€” the whole entire ecosystem, the main character 🌈

that's the whole page, bestie β€” short, sweet, and it ate πŸ’– fr fr this was perl v5.40.1, dated 2026-01-24, straight out of the Catman...isassoc(3pm) files. mwah πŸ˜­πŸŽ€

πŸ“¦ where this page comes from