The devel/p5-MooX-StrictConstructor port
p5-MooX-StrictConstructor-0.011 – blow up Moo-based 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 dies. This is a great way to catch small typos.WWW: https://metacpan.org/release/MooX-StrictConstructor
Maintainer
The OpenBSD ports mailing-list
Categories
Run dependencies
Test dependencies
Files
- /usr/local/libdata/perl5/site_perl/Method/Generate/Constructor/
- /usr/local/libdata/perl5/site_perl/Method/Generate/Constructor/Role/
- /usr/local/libdata/perl5/site_perl/Method/Generate/Constructor/Role/StrictConstructor.pm
- /usr/local/libdata/perl5/site_perl/MooX/
- /usr/local/libdata/perl5/site_perl/MooX/StrictConstructor.pm
- /usr/local/man/man3p/Method::Generate::Constructor::Role::StrictConstructor.3p
- /usr/local/man/man3p/MooX::StrictConstructor.3p