Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Catmandu::Fix::Condition::exists - only execute fixes if the path exists

Name

       Catmandu::Fix::Condition::exists - only execute fixes if the path exists

See Also

       Catmandu::Fix

perl v5.40.0                                       2025-01-17              Catmandu::Fix::Condition::exists(3pm)

Synopsis

          # uppercase the value of field 'foo' if the field 'oogly' exists
          if exists(oogly)
            upcase(foo) # foo => 'BAR'
          end
          # inverted
          unless exists(oogly)
            upcase(foo) # foo => 'bar'
          end

See Also