The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

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