Man pages sections > man3 > Catmandu::Fix::sum

Catmandu::Fix::sum - replace the value of an array field with the sum of its

Catmandu::Fix::sum(3pm) User Contributed Perl Documentation Catmandu::Fix::sum(3pm)

NAME

Catmandu::Fix::sum - replace the value of an array field with the sum of its elements

SYNOPSIS

   # e.g. numbers => [2, 3]
   sum(numbers)
   # numbers => 5

SEE ALSO

Catmandu::Fix
2017-10-01 perl v5.26.0