Package : perl-MooseX-Role-Parameterized > RPM : perl-MooseX-Role-Parameterized-1.100.0-2.mga7.noarch.rpm

Basic items

Install
Name perl-MooseX-Role-Parameterized
Version 1.100.0
Release 2.mga7
URL http://metacpan.org/release/MooseX-Role-Parameterized
Group Development/Perl
Summary Metaclass for parameterizable roles
Size 182KB
Arch noarch
License GPL+ or Artistic

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.

Media information

Distribution release Mageia 7
Media name core-release
Media arch i586

Advanced items

Source RPM perl-MooseX-Role-Parameterized-1.100.0-2.mga7.src.rpm
Build time 2018-09-20 12:30:56
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie