libmoosex-role-parameterized-perl

Moose extension providing parameterized roles

Description

MooseX::Role::Parameterized is a Moose extension that consists of two things: parameter declarations and a role block.

Parameters are declared using the "parameter" keyword which resembles Moose's "has", even supporting any option that "has" accepts. You can use any option that "has" accepts. The default value for the "is" option is read-only, as that's a very common case. These parameters will get their values when the consuming class (or role) uses Moose's "with". A parameter object will be constructed with these values, and passed to the role block.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/MooseX-Role-Parameterized


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libmoosex-role-parameterized-perl