Mouse::Meta::Class - hook into the Mouse MOP
Finds or creates a Mouse::Meta::Class instance for the given ClassName. Only one instance should exist for a given class.
Creates a new Mouse::Meta::Class. Don't call this directly.
Returns the name of the owner class.
Gets (or sets) the list of superclasses of the owner class.
Begins keeping track of the existing Mouse::Meta::Attribute for the owner class.
Returns the list of all Mouse::Meta::Attribute instances associated with this class and its superclasses.
Returns a mapping of attribute names to their corresponding Mouse::Meta::Attribute objects.
This returns a list of attribute names which are defined in the local class. If you want a list of all applicable attributes for a class, use the get_all_attributes method.
get_all_attributes
Returns whether we have a Mouse::Meta::Attribute with the given name.
Returns the Mouse::Meta::Attribute with the given name.
Returns the list of classes in method dispatch order, with duplicates removed.
Clones the given Instance which must be an instance governed by this metaclass.
Instance
The clone_instance method has been made private. The public version is deprecated.
To install Mouse, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mouse
CPAN shell
perl -MCPAN -e shell install Mouse
For more information on module installation, please visit the detailed CPAN module installation guide.