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.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:42.1/perl-MooseX-StrictConstructor && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-StrictConstructor-0.19.tar.gz | 0000010242 10 KB | |
perl-MooseX-StrictConstructor.changes | 0000001762 1.72 KB | |
perl-MooseX-StrictConstructor.spec | 0000002633 2.57 KB |
Latest Revision
Stephan Kulow (coolo)
accepted
request 338916
from
Stephan Kulow (coolo)
(revision 1)
new package for leap
Comments 0