The devel/p5-MooseX-Role-Parameterized port
p5-MooseX-Role-Parameterized-1.11p0 – roles with composition parameters (cvsweb github mirror)
Description
Your parameterized role consists of two new things: parameter declarations and a role block. Parameters are declared using the "parameter" keyword which very much resembles "has" in Moose. You can use any option that "has" in Moose 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 "with" in Moose. A parameter object will be constructed with these values, and passed to the role block. There are many possible implementations for parameterized roles (hopefully with a consistent enough API).WWW: https://metacpan.org/release/MooseX-Role-Parameterized
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Test dependencies
Reverse dependencies
Files
- /usr/local/libdata/perl5/site_perl/MooseX/
- /usr/local/libdata/perl5/site_perl/MooseX/Role/
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterised.pm
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized.pm
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Meta/
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Meta/Role/
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Meta/Trait/
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Meta/Trait/Parameterizable.pm
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Meta/Trait/Parameterized.pm
- /usr/local/libdata/perl5/site_perl/MooseX/Role/Parameterized/Parameters.pm
- /usr/local/man/man3p/MooseX::Role::Parameterised.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized::Extending.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized::Meta::Role::Parameterized.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized::Meta::Trait::Parameterizable.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized::Meta::Trait::Parameterized.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized::Parameters.3p
- /usr/local/man/man3p/MooseX::Role::Parameterized::Tutorial.3p