Man pages sections > man3 > Catmandu::Fix::array

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

Catmandu::Fix::array(3pm) User Contributed Perl Documentation Catmandu::Fix::array(3pm)

NAME

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

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

Catmandu::Fix::hash, Catmandu::Fix
2017-10-01 perl v5.26.0