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.
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / perl-MooseX...onstructor
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-MooseX-StrictConstructor && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-StrictConstructor-0.10.tar.gz | 0000010296 10.1 KB | |
perl-MooseX-StrictConstructor.changes | 0000000452 452 Bytes | |
perl-MooseX-StrictConstructor.spec | 0000001776 1.73 KB |
Revision 5 (latest revision is 13)
Stephan Kulow (coolo)
committed
(revision 5)
always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
Comments 0