Mouse::Util - Utilities for working with Mouse classes
This document describes Mouse version 2.0.0
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
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
@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