Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-MooseX-OneArgNew-0.007-1.6 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-MooseX-OneArgNew Distribution: openSUSE Tumbleweed
Version: 0.007 Vendor: openSUSE
Release: 1.6 Build date: Mon Jan 2 04:15:36 2023
Group: Unspecified Build host: reproducible
Size: 27896 Source RPM: perl-MooseX-OneArgNew-0.007-1.6.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.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Mon Jan 02 2023 Tina Müller <timueller+perl@suse.de>
  - 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 <timueller+perl@suse.de>
  - 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 coolo@suse.com
  - 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 coolo@suse.com
  - updated to 0.004
    update repo and bugtracker metadata
* Wed Jun 05 2013 coolo@suse.com
  - 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 coolo@suse.com
  - update to 0.002
    * just removed the "might change radically" warning
* Tue Apr 05 2011 coolo@novell.com
  - initial package 0.001
    * created by cpanspec 1.78.03

Files

/usr/lib/perl5/vendor_perl/5.38.2/MooseX
/usr/lib/perl5/vendor_perl/5.38.2/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, Wed May 1 23:23:10 2024