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

p5-MooX-StrictConstructor

0.013

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.

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

Dependencies (2)

Required By (4 packages)

More in devel