p5-MooseX-StrictConstructor
blow up object constructors on unknown attributes
WWW CVSWeb GITHub-
Package versionp5-MooseX-StrictConstructor-0.21p1
-
MaintainerThe OpenBSD ports mailing-list
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.
- devel/p5-Moose
- devel/p5-namespace-autoclean