Catmandu::Fix::lookup(3pm) | User Contributed Perl Documentation | Catmandu::Fix::lookup(3pm) |
NAME¶
Catmandu::Fix::lookup - change the value of a HASH key or ARRAY index by looking up its value in a dictionarySYNOPSIS¶
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')
SEE ALSO¶
Catmandu::Fix2017-01-04 | perl v5.24.1 |