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

perl-MooseX-OneArgNew-0.005-bp154.1.19 RPM for noarch

From OpenSuSE Leap 15.4 for noarch

Name: perl-MooseX-OneArgNew Distribution: SUSE Linux Enterprise 15 SP4
Version: 0.005 Vendor: openSUSE
Release: bp154.1.19 Build date: Mon May 9 11:51:10 2022
Group: Development/Libraries/Perl Build host: lamb27
Size: 27038 Source RPM: perl-MooseX-OneArgNew-0.005-bp154.1.19.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/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 the
parameterized role|MooseX::Role::Parameterized manpage 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+

Changelog

* 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.26.1/MooseX
/usr/lib/perl5/vendor_perl/5.26.1/MooseX/OneArgNew.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-MooseX-OneArgNew
/usr/share/doc/packages/perl-MooseX-OneArgNew/Changes
/usr/share/doc/packages/perl-MooseX-OneArgNew/LICENSE
/usr/share/doc/packages/perl-MooseX-OneArgNew/README
/usr/share/man/man3/MooseX::OneArgNew.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 17:06:41 2024