Sophie

Sophie

distrib > Mageia > 9 > x86_64 > media > core-release > by-pkgid > 9b4b37af12572d31db43c69df45deb1c

perl-MooX-StrictConstructor-0.11.0-2.mga9.noarch.rpm

Description:

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.

STANDING ON THE SHOULDERS OF ...
Most of this package was lifted from the MooX::InsideOut manpage and
most of the Role that implements the strictness was lifted from the
MooseX::StrictConstructor manpage.

SUBVERTING STRICTNESS
the MooseX::StrictConstructor manpage documents two tricks for
subverting strictness and avoid having problematic arguments cause an
exception: handling them in BUILD or handle them in BUILDARGS.

Sources packages:

Other version of this rpm: