
Mouse::Role - The Mouse Role

This document describes Mouse version 0.4501

package MyRole;
use Mouse::Role;

meta -> Mouse::Meta::RoleReturns this role's metaclass instance.
before (method|methods) -> CodeRefSets up a before method modifier. See "before" in Moose.
after (method|methods) => CodeRefSets up an after method modifier. See "after" in Moose.
around (method|methods) => CodeRefSets up an around method modifier. See "around" in Moose.
superSets up the super keyword. See "super" in Moose.
override method => CodeRefSets up an override method modifier. See "Role/override" in Moose.
innerThis is not supported in roles and emits an error. See "Role" in Moose.
augment method => CodeRefThis is not supported in roles and emits an error. See "Role" in Moose.
has (name|names) => parametersSets up an attribute (or if passed an arrayref of names, multiple attributes) to this role. See "has" in Mouse.
confess(error) -> BOOM"confess" in Carp for your convenience.
blessed(value) -> ClassName | undef"blessed" in Scalar::Util for your convenience.

Importing Mouse::Role will give you sugar.
Please unimport (no Mouse::Role) so that if someone calls one of the keywords (such as "has") it will break loudly instead breaking subtly.
