Make your MooseX object constructors blow up on unknown attributes
Simply loading the MooseX::StrictConstructor module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it calls "Carp::confess()". This is a great way to catch small typos.
$
pkg install p5-MooseX-StrictConstructorOrigin
devel/p5-MooseX-StrictConstructor
Size
22.6KiB
License
ART20
Maintainer
bofh@FreeBSD.org
Dependencies
3 packages
Required by
10 packages