Catmandu::Fix::filter - Filter values out of an array based on a regular expression
# words => ["Patrick","Nicolas","Paul","Frank"] filter(words,'Pa') # words => ["Patrick","Paul"] # filter only values that do NOT match the pattern: filter(words, 'Pa', invert: 1) # words => ["Nicolas","Frank"]
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.