FreeBSD.software
Home/devel/p5-MooX-StrictConstructor

p5-MooX-StrictConstructor

0.013devel

Make your Moo-based object constructors blow up on unknown attributes

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.

$pkg install p5-MooX-StrictConstructor
metacpan.org/release/MooX-StrictConstructor
Origin
devel/p5-MooX-StrictConstructor
Size
27.3KiB
License
ART10, GPLv1+
Maintainer
sunpoet@FreeBSD.org
Dependencies
2 packages
Required by
4 packages

Dependencies (2)

Required By (4)