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

p5-MooseX-StrictConstructor

0.21

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.

Origin: devel/p5-MooseX-StrictConstructor
Category: devel
Size: 22.6KiB
License: ART20
Maintainer: bofh@FreeBSD.org
Dependencies: 3 packages
Required by: 10 packages
$pkg install p5-MooseX-StrictConstructor

Dependencies (3)

Required By (10 packages)

More in devel