Scroll to navigation

Catmandu::Fix::Condition::all_match(3pm) User Contributed Perl Documentation Catmandu::Fix::Condition::all_match(3pm)
 

NAME

Catmandu::Fix::Condition::all_match - only execute fixes if all path values match the given regex

SYNOPSIS

   # uppercase the value of field 'foo' if all members of 'oogly' have the value 'doogly'
   if all_match(oogly.*, "doogly")
     upcase(foo) # foo => 'BAR'
   end

SEE ALSO

Catmandu::Fix
2014-10-14 perl v5.20.1