UR::Role::PrototypeWithParams - Binds a set of params to a role
Objects of this class are returned when calling create() on a role's class. They exist temporarily as a class is being defined as a means of binding a set of role params to a UR::Role::Prototype to use in the roles section of a class description. See the "Parameterized Roles" section in UR::Role.
create()
roles
The constructor. Both arguments are required.
Returns itself. Used by the role composition mechanism to trigger autoloading the role's module when role names are given as strings in a class definition.
Return a UR::Role::Instance object.
UR::Role, UR::Role::Prototype, UR::Role::Instance
To install UR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UR
CPAN shell
perl -MCPAN -e shell install UR
For more information on module installation, please visit the detailed CPAN module installation guide.