Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Mouse::Meta::TypeConstraint

Name Mouse::Meta::TypeConstraint
Version
Located at /usr/lib/x86_64-linux-gnu/perl5/5.34
File /usr/lib/x86_64-linux-gnu/perl5/5.34/Mouse/Meta/TypeConstraint.pm
Is Core No
Search CPAN for this module Mouse::Meta::TypeConstraint
Documentation Mouse::Meta::TypeConstraint
Module Details Mouse::Meta::TypeConstraint

NAME

Mouse::Meta::TypeConstraint - The Mouse Type Constraint metaclass


VERSION

This document describes Mouse version v2.5.10


DESCRIPTION

This class represents a type constraint, including built-in type constraints, union type constraints, parameterizable/ parameterized type constraints, as well as custom type constraints


METHODS

Mouse::Meta::TypeConstraint->new(%options)
$constraint->name
$constraint->parent
$constraint->constraint
$constraint->has_coercion
$constraint->message
$constraint->is_a_type_of($name or $object)
$constraint->coerce($value)
$constraint->check($value)
$constraint->assert_valid($value)
$constraint->get_message($value)
$constraint->create_child_type(%options)


SEE ALSO

the Moose::Meta::TypeConstraint manpage

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026