Catmandu::Fix::Condition::is_true - only execute fixes if all path values are the boolean true, 1 or "true"
if is_true(data.*.has_error) ... end # strict only matches a real bool, not 1 or "1" or "true" if is_true(data.*.has_error, strict: 1) ... end
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.