Catmandu::Util::Regex - Regex related utility functions
Escapes and quotes the given string as a regex.
Builds a function that performs a regex substitution.
my $ltrimmer = substituter('^[\h\v]+', ''); $ltrimmer->(" eek! "); # => "eek! "
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.