pkgsrc/devel/p5-MooX-StrictConstructor/DESCR
wiz 6ea6422664 Import p5-MooX-StrictConstructor-0.008 as devel/p5-MooX-StrictConstructor.
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.
2016-04-15 11:38:07 +00:00

4 lines
213 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 dies. This is a great way to
catch small typos.