Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooseX-NewDefaults | Distribution: Mageia |
Version: 0.4.0 | Vendor: Mageia.Org |
Release: 8.mga9 | Build date: Sun Mar 20 11:01:17 2022 |
Group: Development/Perl | Build host: localhost |
Size: 73964 | Source RPM: perl-MooseX-NewDefaults-0.4.0-8.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/MooseX-NewDefaults | |
Summary: Alter attribute defaults with less pain |
Ever start using a package from the CPAN, only to discover that it requires lots of subclassing and "has '+foo' => (default => ...)"? It's not recommended Moose best practice, and it's certainly not the prettiest thing ever, either. That's where we come in. This package introduces new sugar that you can use in your class, default_for (as seen above). e.g. has '+foo' => (default => sub { 'a b c' }); ...is the same as: default_for foo => sub { 'a b c' };
LGPLv2
* Sun Mar 20 2022 umeabot <umeabot> 0.4.0-8.mga9 + Revision: 1804682 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-MooseX-NewDefaults /usr/share/doc/perl-MooseX-NewDefaults/Changes /usr/share/doc/perl-MooseX-NewDefaults/LICENSE /usr/share/doc/perl-MooseX-NewDefaults/META.json /usr/share/doc/perl-MooseX-NewDefaults/META.yml /usr/share/doc/perl-MooseX-NewDefaults/MYMETA.yml /usr/share/doc/perl-MooseX-NewDefaults/README /usr/share/doc/perl-MooseX-NewDefaults/SIGNATURE /usr/share/man/man3/MooseX::NewDefaults.3pm.xz /usr/share/man/man3/MooseX::NewDefaults::Magic.3pm.xz /usr/share/perl5/vendor_perl/MooseX /usr/share/perl5/vendor_perl/MooseX/NewDefaults /usr/share/perl5/vendor_perl/MooseX/NewDefaults.pm /usr/share/perl5/vendor_perl/MooseX/NewDefaults/Magic.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 08:48:06 2025