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

Catmandu::Fix::array - creates an array out of a hash

   # tags => {name => 'Peter', age => 12}
   array(tags)
   # tags => ['name', 'Peter', 'age', 12]

This fix functions transforms hash fields to array. String fields and array fields are left unchanged.

Catmandu::Fix::hash, Catmandu::Fix

2023-03-03 perl v5.36.0