Mouse::Object - The base object for Mouse classes
This document describes Mouse version 2.1.0
Instantiates a new
This is obviously intended for subclasses.
Lets you override the arguments that
It must return a HashRef of parameters.
BUILD on each class in the class hierarchy.
This is called at the end of
You may put any business logic initialization in BUILD methods. You don't need to redispatch or return any specific value.
DEMOLISH on each class in the class hierarchy.
This is called at
You may put any business logic deinitialization in DEMOLISH methods. You don't need to redispatch or return any specific value.
This will check if the invocant's class does a given
This is similar to
isa for object,
but it checks the roles instead.
This is a handy utility for dumping an object with Data::Dumper. By default, the maximum depth is 3, to avoid making a mess.
This is a method which provides access to the object's metaclass.