Make your object constructors blow up on unknown attributes
http://search.cpan.org/dist/MooseX-StrictConstructor/
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 "Carp::confess()". This is a great way to catch small
typos.
- Links to remote devel:languages:perl / perl-MooseX-StrictConstructor
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:smithfarm/perl-MooseX-StrictConstructor && cd $_
- Create Badge
Refresh
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000476 476 Bytes |
Comments 0