Mouse::Meta::TypeConstraint(3pm)

Mouse::Meta::TypeConstraint3pm

The mouse type constraint metaclass

Version

This document describes Mouse version v2.6.2

Overview

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)"

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

From perl-mouse 2.6.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.