Catmandu::Fix::count - replace the value of an array or hash field with it's count
# e.g. tags => ["foo", "bar"] count('tags'); # tags => 2
Catmandu::Fix
To install Catmandu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu
CPAN shell
perl -MCPAN -e shell install Catmandu
For more information on module installation, please visit the detailed CPAN module installation guide.