Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooseX-StrictConstructor | Distribution: openSUSE Tumbleweed |
Version: 0.21 | Vendor: openSUSE |
Release: 1.28 | Build date: Fri Feb 10 07:09:41 2017 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 33182 | Source RPM: perl-MooseX-StrictConstructor-0.21-1.28.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/MooseX-StrictConstructor/ | |
Summary: Make your 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 calls 'Moose->throw_error()'. This is a great way to catch small typos.
Artistic-2.0
* Fri Feb 10 2017 coolo@suse.com - updated to 0.21 see /usr/share/doc/packages/perl-MooseX-StrictConstructor/Changes 0.21 2017-02-09 - The last release accidentally added Moo as a hard prereq when it's only needed for testing. Patched by Karen Etheride (GH #4). 0.20 2017-02-09 - Repository has moved to the GitHub Moose organization - Added support for __no_BUILD__ as a constructor argument to skip calling any BUILD subs (used internally by modules like Moo that have their own implementation of calling BUILD). Reported and patched by Karen Etheridge (RT#120124, GH #1). * Sat Jul 27 2013 coolo@suse.com - updated to 0.19 - The 0.17 release broke compatibility with pre-2.0 versions of Moose. - A small internal tweak which prevents the MooseX::ClassCompositor tests from failing. - Added a small optimization for an immutable constructor when used with Moose 2.00+. The list of valid attributes is only generated once, rather than each time the constructor is run. Reported by Chip Salzenberg. RT #73664. * Sat Apr 30 2011 pascal.bleser@opensuse.org - update to 0.16: * don't wrap BUILDALL, since this breaks if the object doesn't inherit from Moose::Object * Fri Apr 22 2011 coolo@opensuse.org - updated to 0.15 - The fix in 0.14 only worked with Moose 2.0, causing failures with earlier versions. - Using extends caused strictness to be lost. Fixed by Karen Etheridge. - This release provides forward compatibility with Moose 1.99+. It will still work with Moose 1.23 as well. Most of the work was done by Jesse Luehrs. - Switched tests to use Test::Fatal instead of Test::Exception. * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Mon Nov 29 2010 coolo@novell.com - remove /var/adm/perl-modules * Sun Aug 22 2010 pascal.bleser@opensuse.org - initial package (0.10)
/usr/lib/perl5/vendor_perl/5.40.0/MooseX /usr/lib/perl5/vendor_perl/5.40.0/MooseX/StrictConstructor /usr/lib/perl5/vendor_perl/5.40.0/MooseX/StrictConstructor.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/StrictConstructor/Trait /usr/lib/perl5/vendor_perl/5.40.0/MooseX/StrictConstructor/Trait/Class.pm /usr/lib/perl5/vendor_perl/5.40.0/MooseX/StrictConstructor/Trait/Method /usr/lib/perl5/vendor_perl/5.40.0/MooseX/StrictConstructor/Trait/Method/Constructor.pm /usr/share/doc/packages/perl-MooseX-StrictConstructor /usr/share/doc/packages/perl-MooseX-StrictConstructor/CONTRIBUTING.md /usr/share/doc/packages/perl-MooseX-StrictConstructor/Changes /usr/share/doc/packages/perl-MooseX-StrictConstructor/LICENSE /usr/share/doc/packages/perl-MooseX-StrictConstructor/README.md /usr/share/man/man3/MooseX::StrictConstructor.3pm.gz /usr/share/man/man3/MooseX::StrictConstructor::Trait::Class.3pm.gz /usr/share/man/man3/MooseX::StrictConstructor::Trait::Method::Constructor.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Jan 9 23:48:41 2025