DOKK / manpages / debian 12 / libcatmandu-perl / Catmandu::Fix::disassoc.3pm.en
Catmandu::Fix::disassoc(3pm) User Contributed Perl Documentation Catmandu::Fix::disassoc(3pm)

Catmandu::Fix::disassoc - inverse of assoc, transform a hash into an array of key value pairs

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

Catmandu::Fix::assoc, Catmandu::Fix

2023-03-03 perl v5.36.0