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
To install Catmandu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu
CPAN shell
perl -MCPAN -e shell install Catmandu
For more information on module installation, please visit the detailed CPAN module installation guide.