Catmandu::Fix::retain - delete everything except the paths given
# Keep the field _id , name , title retain(_id , name, title) # Delete everything except foo.bar # {bar => { x => 1} , foo => {bar => 1, y => 2}} # to # {foo => {bar => 1}} retain(foo.bar)
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.