There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Catmandu::Fix::stat_mean - calculate the mean of an array

SYNOPSIS

# Calculate the mean of foo. E.g. foo => [1,2,3,4]
stat_mean(foo)  # foo => '2.5'

SEE ALSO

Catmandu::Fix