Home

The devel/p5-MooseX-StrictConstructor port

p5-MooseX-StrictConstructor-0.21p1 – blow up object constructors on unknown attributes (cvsweb github mirror)

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 calls Moose->throw_error(). This is a great
way to catch small typos.
WWW: https://metacpan.org/release/MooseX-StrictConstructor

Maintainer

The OpenBSD ports mailing-list

Categories

devel perl5

Run dependencies

Test dependencies

Reverse dependencies

Files

Search