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: openSUSE:Factory:zSystems |
Version: 0.011 | Vendor: openSUSE |
Release: 1.15 | Build date: Wed Mar 11 04:15:23 2020 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 31354 | Source RPM: perl-MooX-StrictConstructor-0.011-1.15.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/MooX-StrictConstructor | |
Summary: Make your Moo-based object constructors blow up on unknown attributes |
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. Your application can use Carp::Always to generate stack traces on 'die'. Previously all exceptions contained traces, but this could potentially leak sensitive information, e.g. My::Sensitive::Class->new( password => $sensitive, extra_value => 'foo' );
Artistic-1.0 OR GPL-1.0-or-later
* Wed Mar 11 2020 <[email protected]> - updated to 0.011 see /usr/share/doc/packages/perl-MooX-StrictConstructor/Changes 0.011 2020-03-10 09:38:39-07:00 America/Los_Angeles - Switched from Carp::confess to die in order to avoid leaking sensitive data via stack traces. The previous behavior can be enabled in an application by using Carp::Always. Thanks @jrubinator! * Fri Apr 06 2018 [email protected] - updated to 0.010 see /usr/share/doc/packages/perl-MooX-StrictConstructor/Changes 0.010 2018-03-25 10:15:40-07:00 America/Los_Angeles - Undo the previous "fix" for the minimum perl version. The basic requirement is for 5.004 but the tests require 5.006. * Sun Mar 25 2018 [email protected] - updated to 0.009 see /usr/share/doc/packages/perl-MooX-StrictConstructor/Changes 0.009 2018-03-24 14:12:47-07:00 America/Los_Angeles - Built using current Dist::Zilla, so various things are better, e.g. includes a LICENSE. - A couple of things that are only used in xt tests used to be test requirements, now their develop requirements. - No longer includes explicit dependencies on a handful of modules (e.g. indirect) that Moo's use of strictures used to require. - Now only includes a Makefile.PL. - The build now includes a cpanfile in the repo. - The minimum perl version is now consistent between the Makefile.PL and the META.{yml,json} files. * Wed May 13 2015 [email protected] - updated to 0.008 see /usr/share/doc/packages/perl-MooX-StrictConstructor/Changes 0.008 2015-05-11 08:22:24-07:00 America/Los_Angeles - Improve the POD about bugs and incompatibilities. 0.007 2015-05-03 15:01:45-07:00 America/Los_Angeles - Ask dzil to build me a Makefile.PL too. - Include Tim Bunce's efficiency and error messaging patch. - Typos in POD and README. * Tue Feb 17 2015 [email protected] - initial package 0.006 * created by cpanspec 1.78.08
/usr/lib/perl5/vendor_perl/5.40.0/Method /usr/lib/perl5/vendor_perl/5.40.0/Method/Generate /usr/lib/perl5/vendor_perl/5.40.0/Method/Generate/Constructor /usr/lib/perl5/vendor_perl/5.40.0/Method/Generate/Constructor/Role /usr/lib/perl5/vendor_perl/5.40.0/Method/Generate/Constructor/Role/StrictConstructor.pm /usr/lib/perl5/vendor_perl/5.40.0/MooX /usr/lib/perl5/vendor_perl/5.40.0/MooX/StrictConstructor.pm /usr/share/doc/packages/perl-MooX-StrictConstructor /usr/share/doc/packages/perl-MooX-StrictConstructor/Changes /usr/share/licenses/perl-MooX-StrictConstructor /usr/share/licenses/perl-MooX-StrictConstructor/LICENSE /usr/share/man/man3/Method::Generate::Constructor::Role::StrictConstructor.3pm.gz /usr/share/man/man3/MooX::StrictConstructor.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jan 7 00:09:38 2025