Catmandu::Error - Catmandu error hierarchy
use Catmandu::Sane; sub be_naughty { Catmandu::BadArg->throw("very naughty") if shift; } try { be_naughty(1); } catch_case [ 'Catmandu::BadArg' => sub { say "sorry"; } ];
Throwable
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.