Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooX-StrictConstructor | Distribution: Mageia |
Version: 0.11.0 | Vendor: Mageia.Org |
Release: 2.mga9 | Build date: Tue Mar 22 22:41:16 2022 |
Group: Development/Perl | Build host: localhost |
Size: 37771 | Source RPM: perl-MooX-StrictConstructor-0.11.0-2.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/MooX-StrictConstructor | |
Summary: A role to make Moo constructors strict |
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.
GPL+ or Artistic
* Tue Mar 22 2022 umeabot <umeabot> 0.11.0-2.mga9 + Revision: 1819683 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-MooX-StrictConstructor /usr/share/doc/perl-MooX-StrictConstructor/Changes /usr/share/doc/perl-MooX-StrictConstructor/LICENSE /usr/share/doc/perl-MooX-StrictConstructor/META.json /usr/share/doc/perl-MooX-StrictConstructor/META.yml /usr/share/doc/perl-MooX-StrictConstructor/MYMETA.yml /usr/share/man/man3/Method::Generate::Constructor::Role::StrictConstructor.3pm.xz /usr/share/man/man3/MooX::StrictConstructor.3pm.xz /usr/share/perl5/vendor_perl/Method /usr/share/perl5/vendor_perl/Method/Generate /usr/share/perl5/vendor_perl/Method/Generate/Constructor /usr/share/perl5/vendor_perl/Method/Generate/Constructor/Role /usr/share/perl5/vendor_perl/Method/Generate/Constructor/Role/StrictConstructor.pm /usr/share/perl5/vendor_perl/MooX /usr/share/perl5/vendor_perl/MooX/StrictConstructor.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Jan 12 13:07:19 2025