Mouse::Util - Utilities for working with Mouse classes
This document describes Mouse version v2.5.10
use Mouse::Util; # turns on strict and warnings
This module provides a set of utility functions. Many of these
functions are intended for use in Mouse itself or MouseX modules, but
some of them may be useful for use in your own code.
The following functions are exportable.
The same as Mouse::Util::class_of().
The following functions are not exportable.
Returns whether $classname is actually loaded or not.
It uses a heuristic which involves checking for the existence of
$VERSION, @ISA, and any locally-defined method.
This will load a given $classname (or die if it is not loadable).
This function can be used in place of tricks like
eval "use $module ()" or using require.
the Moose::Util manpage
the Class::MOP manpage
the Sub::Identify manpage
mro
the MRO::Compat manpage
|