Dependency of nagios-plugins-nwc-health-8.0-1.1.src.rpm
Name: perl-MooseX-OneArgNew
Project: openSUSE_13.2
Repository: oss
Title: 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.
Version: 0.004
Release: 2.1.3
Architecture: noarch
Size: 15.6 KB
Build Time: 2014-10-06 18:33:00 +0200 (over 9 years ago)
Provides
Symbol | Required by |
---|---|
perl(MooseX::OneArgNew) = 0... | perl-Config-MVP |
perl-MooseX-OneArgNew = 0.0... |
Requires
Symbol | Provided by |
---|---|
perl(:MODULE_COMPAT_5.20.1) | perl |
perl(Moose::Util::TypeConst... | perl-Moose |
perl(MooseX::Role::Paramete... | perl-MooseX-Role-Parameterized |
perl(namespace::autoclean) | perl-namespace-autoclean |