blow up object constructors on unknown attributes
Project homepage: https://metacpan.org/release/MooseX-StrictConstructor
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.
Package information
- Ports path
- devel/p5-MooseX-StrictConstructor
- Package architecture
- *
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, perl5
- Available flavors
- None listed
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Test
Used by (3 dependency relationships)
Includes library, runtime, build and test dependencies.