Mouse::Meta::Attribute - attribute metaclass
Instantiates a new Mouse::Meta::Attribute. Does nothing else.
Creates a new attribute in OwnerClass. Accessors and helper methods are installed. Some error checking is done.
Informational methods.
Creates a new code reference for the attribute's accessor.
Creates a new code reference for the attribute's predicate.
Creates a new code reference for the attribute's clearer.
Creates a new code reference for each of the attribute's handles methods.
Returns a code reference which can be used to check that a given value passes this attribute's type constraint;
Checks that the given value passes this attribute's type constraint. Returns 1 on success, otherwise confesses.
confess
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.