Catmandu::Fix::Condition::any_match - only execute fixes if any path value matches the given regex
# uppercase the value of field 'foo' if field 'oogly' has the value 'doogly' if any_match(oogly, "doogly") upcase(foo) # foo => 'BAR' end
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.