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

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

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

Catmandu::Fix

2023-03-03 perl v5.36.0