Nicolas Steenlant > Catmandu-0.2002 > Catmandu::Fix::Condition::any_match

Download:
Catmandu-0.2002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Catmandu-0.9209

NAME ^

Catmandu::Fix::Condition::any_match - only execute fixes if any path value matches the given regex

SYNOPSIS ^

   # uppercase the value of field 'foo' if field 'oogly' has the value 'doogly'
   if_any_match('oogly', 'doogly');
   upcase('foo'); # foo => 'BAR'
   end()

SEE ALSO ^

Catmandu::Fix

syntax highlighting: