---
name: "Catmandu::Fix::disassoc"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::disassoc"
---

# Catmandu::Fix::disassoc(3pm)

inverse of assoc, transform a hash into an array of key value pairs

## NAME

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

## SYNOPSIS

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

## SEE ALSO

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