Catmandu::Fix::set_hash - add or change the value of a HASH key or ARRAY index to a hash
Contrary to add_field, this will not create the intermediate structures if they are missing.
add_field
# Change the value of 'foo' to an empty hash set_hash(foo) # Or a hash with initial contents set_hash(a: b, c: d)
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.