UR::Role::Instance - Represents a role composed with a class with a set of params
When a class composes one or more roles, the role names given in the class description are converted to UR::Role::Instance objects as the class is constructed. These are returned by the class' roles() method.
roles()
Returns the name of the role
Returns the name of the class composing the role
Returns a hashref of role params used when the class composed the role
UR::Role, UR::Role::Prototype
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.