ports/devel/p5-MooseX-StrictConstructor/pkg/DESCR

4 lines
235 B
Text

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.