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
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.