Name : perl-MooX-StrictConstructor
| |
Version : 0.11.0
| Vendor : Mageia_Org
|
Release : 1.mga8
| Date : 2020-03-12 07:47:13
|
Group : Development/Perl
| Source RPM : perl-MooX-StrictConstructor-0.11.0-1.mga8.src.rpm
|
Size : 0.04 MB
| |
Packager : tv < tv>
| |
Summary : A role to make Moo constructors strict
|
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.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/8/x86_64/media/core/release |