The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mouse::Util - Features, with or without their dependencies

VERSION

This document describes Mouse version 0.66

IMPLEMENTATIONS FOR

Moose::Util

find_meta

does_role

resolve_metaclass_alias

apply_all_roles

english_list

Class::MOP

is_class_loaded(ClassName) -> Bool

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.

load_class(ClassName)

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.

Mouse::Util::class_of(ClassName or Object)

Mouse::Util::get_metaclass_by_name(ClassName)

Mouse::Util::get_all_metaclass_instances()

Mouse::Util::get_all_metaclass_names()

MRO::Compat

get_linear_isa

Sub::Identify

get_code_info

Mouse specific utilities

not_supported

get_code_package

get_code_ref

SEE ALSO

Moose::Util

Class::MOP

Sub::Identify

MRO::Compat