logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::Fix::eval - eval and execute fixes defined in a field

Name

       Catmandu::Fix::eval - eval and execute fixes defined in a field

See Also

       Catmandu::Fix

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

Synopsis

           # {fixes => 'add_field(foo,bar)'}
           eval(fixes)
           # {fixes => 'add_field(foo,bar)', foo => 'bar'}

           # {fixes => ['add_field(foo,bar)','upcase(foo)'], foo => 'bar'}
           eval(fixes)
           # {fixes => ['add_field(foo,bar)','upcase(foo)'], foo => 'BAR'}

See Also