Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooseX-OneArgNew | Distribution: openSUSE:Factory:zSystems |
Version: 0.007 | Vendor: openSUSE |
Release: 1.8 | Build date: Mon Jan 2 04:15:36 2023 |
Group: Unspecified | Build host: reproducible |
Size: 27896 | Source RPM: perl-MooseX-OneArgNew-0.007-1.8.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/MooseX-OneArgNew | |
Summary: Teach ->new to accept single, non-hashref arguments |
MooseX::OneArgNew lets your constructor take a single argument, which will be translated into the value for a one-entry hashref. It is a parameterized role|MooseX::Role::Parameterized with three parameters: * type The Moose type that the single argument must be for the one-arg form to work. This should be an existing type, and may be either a string type or a MooseX::Type. * init_arg This is the string that will be used as the key for the hashref constructed from the one-arg call to new. * coerce If true, a single argument to new will be coerced into the expected type if possible. Keep in mind that if there are no coercions for the type, this will be an error, and that if a coercion from HashRef exists, you might be getting yourself into a weird situation.
Artistic-1.0 OR GPL-1.0-or-later
* Mon Jan 02 2023 Tina Müller <[email protected]> - updated to 0.007 see /usr/share/doc/packages/perl-MooseX-OneArgNew/Changes 0.007 2022-12-31 21:16:30-05:00 America/New_York - update metadata: author address * Mon May 30 2022 Tina Müller <[email protected]> - updated to 0.006 see /usr/share/doc/packages/perl-MooseX-OneArgNew/Changes 0.006 2022-05-29 15:48:22-04:00 America/New_York - update metadata: author address, support window, etc. * Sat Jul 18 2015 [email protected] - updated to 0.005 see /usr/share/doc/packages/perl-MooseX-OneArgNew/Changes 0.005 2015-07-14 21:52:35-04:00 America/New_York - bump required version of MXRP * Sun Oct 06 2013 [email protected] - updated to 0.004 update repo and bugtracker metadata * Wed Jun 05 2013 [email protected] - updated to 0.003 add a "coerce" parameter to the role; now ->new can accept one arg that can be coerced to the expected type; suggested by Mark Jason Dominus * Mon Jan 09 2012 [email protected] - update to 0.002 * just removed the "might change radically" warning * Tue Apr 05 2011 [email protected] - initial package 0.001 * created by cpanspec 1.78.03
/usr/lib/perl5/vendor_perl/5.40.0/MooseX /usr/lib/perl5/vendor_perl/5.40.0/MooseX/OneArgNew.pm /usr/share/doc/packages/perl-MooseX-OneArgNew /usr/share/doc/packages/perl-MooseX-OneArgNew/Changes /usr/share/doc/packages/perl-MooseX-OneArgNew/README /usr/share/licenses/perl-MooseX-OneArgNew /usr/share/licenses/perl-MooseX-OneArgNew/LICENSE /usr/share/man/man3/MooseX::OneArgNew.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Dec 3 23:45:09 2024