Catmandu::Fix::lookup - change the value of a HASH key or ARRAY index by looking up it's value in a dictionary
lookup('foo.bar', 'dictionary.csv'); lookup('foo.bar', 'dictionary.csv', '-sep_char', '|'); # delete value if the lookup fails: lookup('foo.bar', 'dictionary.csv', '-delete', 1); # use a default value if the lookup fails: lookup('foo.bar', 'dictionary.csv', '-default', 'default value');
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.