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.
- Sources inherited from project openSUSE:Leap:15.1
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.1:Update/perl-MooseX-StrictConstructor && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-StrictConstructor-0.21.tar.gz | 0000026792 26.2 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-MooseX-StrictConstructor.changes | 0000002473 2.42 KB | |
perl-MooseX-StrictConstructor.spec | 0000002458 2.4 KB |
Revision 4 (latest revision is 9)
Yuchen Lin (maxlin_factory)
accepted
request 552333
from
Yuchen Lin (maxlin_factory)
(revision 4)
Automated submission of a package from openSUSE:Factory to openSUSE:Leap:15.0 that was included in openSUSE:Leap:42.3
Comments 0