This tests demonstrates that Moose will not override a preexisting type constraint of the same name when making constraints for a Moose-class.
It also tests that an attribute which uses a 'Foo' for its isa option will get the subtype Foo, and not a type representing the Foo moose class.
To install Benchmark::Perl::Formance::Cargo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Benchmark::Perl::Formance::Cargo
CPAN shell
perl -MCPAN -e shell install Benchmark::Perl::Formance::Cargo
For more information on module installation, please visit the detailed CPAN module installation guide.