Catmandu::Fix::retain - delete everything except the paths given
# Delete everything except foo.bar and baz.bar retain(foo.bar, baz.bar) {bar => 3, foo => {bar => 1, baz => 2}} # becomes {foo => {bar => 1}}
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.