Package : perl-MooX-StrictConstructor > RPM : perl-MooX-StrictConstructor-0.10.0-2.mga7.src.rpm
Basic items
Name | perl-MooX-StrictConstructor |
Version | 0.10.0 |
Release | 2.mga7 |
URL | http://search.cpan.org/dist/MooX-StrictConstructor |
Group | Development/Perl |
Summary | A role to make Moo constructors strict |
Size | 18KB |
Arch | noarch |
License | GPL+ or Artistic |
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 dies. This is a great way to catch small typos.
STANDING ON THE SHOULDERS OF ...
Most of this package was lifted from the MooX::InsideOut manpage and
most of the Role that implements the strictness was lifted from the
MooseX::StrictConstructor manpage.
SUBVERTING STRICTNESS
the MooseX::StrictConstructor manpage documents two tricks for
subverting strictness and avoid having problematic arguments cause an
exception: handling them in BUILD or handle them in BUILDARGS.
constructor is called with an attribute init argument that your class does
not declare, then it dies. This is a great way to catch small typos.
STANDING ON THE SHOULDERS OF ...
Most of this package was lifted from the MooX::InsideOut manpage and
most of the Role that implements the strictness was lifted from the
MooseX::StrictConstructor manpage.
SUBVERTING STRICTNESS
the MooseX::StrictConstructor manpage documents two tricks for
subverting strictness and avoid having problematic arguments cause an
exception: handling them in BUILD or handle them in BUILDARGS.
Media information
Distribution release | Mageia 7 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2018-09-20 12:24:47 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |