Catmandu::Fix::assoc - associate two values as a hash key and value
# {pairs => [{key => 'year', val => 2009}, {key => 'subject', val => 'Perl'}]} assoc(fields, pairs.*.key, pairs.*.val) # {fields => {subject => 'Perl', year => 2009}, pairs => [...]}
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.