Catmandu::Fix::count - replace the value of an array or hash field with its count
Contents
Name
Catmandu::Fix::count - replace the value of an array or hash field with its count
See Also
Catmandu::Fix
perl v5.40.0 2025-01-17 Catmandu::Fix::count(3pm)
Synopsis
# e.g. tags => ["foo", "bar"]
count(tags) # tags => 2
