Catmandu::Fix::replace_all - search and replace using regex expressions
# Extract a substring out of the value of a field # {author => "tom jones"} replace_all(author, '([^ ]+) ([^ ]+)', '$2, $1') # {author => "jones, tom"}
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.