Catman...isassoc(3pm)
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
- 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