| Mouse::Role - The Mouse Role |
meta -> Mouse::Meta::Rolebefore (method|methods|regexp) -> CodeRefafter (method|methods|regexp) => CodeRefaround (method|methods|regexp) => CodeRefsuperoverride method => CodeRefinneraugment method => CodeRefhas (name|names) => parametersconfess(error) -> BOOMblessed(value) -> ClassName | undef
Mouse::Role - The Mouse Role
This document describes Mouse version 0.65
package MyRole;
use Mouse::Role;
meta -> Mouse::Meta::RoleReturns this role's metaclass instance.
before (method|methods|regexp) -> CodeRefSets up a before method modifier. See Moose/before.
after (method|methods|regexp) => CodeRefSets up an after method modifier. See Moose/after.
around (method|methods|regexp) => CodeRefSets up an around method modifier. See Moose/around.
superSets up the super keyword. See Moose/super.
override method => CodeRefSets up an override method modifier. See Moose/Role/override.
innerThis is not supported in roles and emits an error. See Moose/Role.
augment method => CodeRefThis is not supported in roles and emits an error. See Moose/Role.
has (name|names) => parametersSets up an attribute (or if passed an arrayref of names, multiple attributes) to this role. See Mouse/has.
confess(error) -> BOOMCarp/confess for your convenience.
blessed(value) -> ClassName | undefblessed in the Scalar::Util manpage 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.
| Mouse::Role - The Mouse Role |