- Name: perl-MooX-StrictConstructor
- Version: 0.11.0
- Release: 1.mga8
- Epoch:
- Group: Development/Perl
- License: GPL+ or Artistic
- Url: http://search.cpan.org/dist/MooX-StrictConstructor
- Summary: A role to make Moo constructors strict
- Architecture: noarch
- Size: 37771
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: tv <tv>
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.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: localhost 1583995629
- Buildhost: localhost
Sources packages:
Other version of this rpm: