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

Catmandu::Fix::flatten - flatten a nested array field

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

NAME

Catmandu::Fix::flatten - flatten a nested array field

SYNOPSIS

   # {deep => [1, [2, 3], 4, [5, [6, 7]]]}
   flatten(deep)
   # {deep => [1, 2, 3, 4, 5, 6, 7]}

SEE ALSO

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