Name : perl-MooseX-OneArgNew
| |
Version : 0.005
| Vendor : obs://build_opensuse_org/home:so_it_team
|
Release : 5.1
| Date : 2018-08-14 18:36:03
|
Group : Development/Libraries/Perl
| Source RPM : perl-MooseX-OneArgNew-0.005-5.1.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Teach ->new to accept single, non-hashref arguments
|
Description :
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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/so_it_team:/12.x/SLE_12_SP3/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(MooseX::OneArgNew)
perl-MooseX-OneArgNew
Requires :