Logoj0ke.net Open Build Service > Projects > server:monitoring > nagios-plugins-nwc-health > Binaries > nagios-plugins-nwc-health-8... > Dependencies
Sign Up | Log In

Dependency of nagios-plugins-nwc-health-8.0-1.1.src.rpm

Name: perl-MooseX-Role-Parameterized

Project: openSUSE_13.2

Repository: oss

Title: roles with composition parameters

Description:
Your parameterized role consists of two new things: parameter declarations
and a 'role' block.

Parameters are declared using the the /parameter manpage keyword which very
much resembles the Moose/has manpage. You can use any option that the
Moose/has manpage accepts. The default value for the 'is' option is 'ro' as
that's a very common case. Use 'is => 'bare'' if you want no accessor.
These parameters will get their values when the consuming class (or role)
uses the Moose/with manpage. A parameter object will be constructed with
these values, and passed to the 'role' block.

The 'role' block then uses the usual the Moose::Role manpage keywords to
build up a role. You can shift off the parameter object to inspect what the
consuming class provided as parameters. You use the parameters to customize
your role however you wish.

There are many possible implementations for parameterized roles (hopefully
with a consistent enough API); I believe this to be the easiest and most
flexible design. Coincidentally, Pugs originally had an eerily similar
design.

See the MooseX::Role::Parameterized::Extending manpage for some tips on how
to extend this module.

Version: 1.02

Release: 2.1.3

Architecture: noarch

Size: 37.9 KB

Build Time: 2014-10-06 18:25:16 +0200 (over 9 years ago)

Provides

Symbol Required by
perl(MooseX::Role::Paramete... perl-Role-HasMessage perl-DBIx-Class-DeploymentHandler perl-Dist-Zilla perl-MooseX-Declare perl-Net-Twitter perl-MooseX-Getopt perl-MooseX-OneArgNew
perl(MooseX::Role::Paramete...
perl(MooseX::Role::Paramete...
perl(MooseX::Role::Paramete...
perl(MooseX::Role::Paramete...
perl-MooseX-Role-Parameteri...

Requires

Symbol Provided by
perl(:MODULE_COMPAT_5.20.1) perl
perl(Module::Runtime) perl-Module-Runtime
perl(Moose) >= 2.0300 perl-Moose