The devel/p5-MooseX-StrictConstructor port
p5-MooseX-StrictConstructor-0.21p1 – blow up object constructors on unknown attributes (cvsweb github mirror)
Description
Simply loading this module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it calls Moose->throw_error(). This is a great way to catch small typos.WWW: https://metacpan.org/release/MooseX-StrictConstructor
Maintainer
The OpenBSD ports mailing-list
Categories
Run dependencies
Test dependencies
Files
- /usr/local/libdata/perl5/site_perl/MooseX/
- /usr/local/libdata/perl5/site_perl/MooseX/StrictConstructor.pm
- /usr/local/libdata/perl5/site_perl/MooseX/StrictConstructor/
- /usr/local/libdata/perl5/site_perl/MooseX/StrictConstructor/Trait/
- /usr/local/libdata/perl5/site_perl/MooseX/StrictConstructor/Trait/Class.pm
- /usr/local/libdata/perl5/site_perl/MooseX/StrictConstructor/Trait/Method/
- /usr/local/libdata/perl5/site_perl/MooseX/StrictConstructor/Trait/Method/Constructor.pm
- /usr/local/man/man3p/MooseX::StrictConstructor.3p
- /usr/local/man/man3p/MooseX::StrictConstructor::Trait::Class.3p
- /usr/local/man/man3p/MooseX::StrictConstructor::Trait::Method::Constructor.3p