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

p5-MooseX-StrictConstructor

0.21devel

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.

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

Dependencies (3)

Required By (10)