Nicolas Steenlant > Catmandu-0.7002 > Catmandu::Fix::sum

Download:
Catmandu-0.7002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Catmandu-0.9204

NAME ^

Catmandu::Fix::sum - replace the value of an array field with the sum of it's elements

SYNOPSIS ^

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

SEE ALSO ^

Catmandu::Fix

syntax highlighting: