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::retain - delete everything except the paths given

Name

       Catmandu::Fix::retain - delete everything except the paths given

See Also

       Catmandu::Fix

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

Synopsis

          # Keep the field _id , name , title
          retain(_id , name, title)

          # Delete everything except foo.bar
          #   {bar => { x => 1} , foo => {bar => 1, y => 2}}
          # to
          #   {foo => {bar => 1}}
          retain(foo.bar)

See Also