-
-
28 Mar 2020 13:17:36 UTC
- Distribution: Mouse
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (12)
- Testers
- Kwalitee
Bus factor: 8- License: perl_5
- Perl: v5.8.5
- Activity
24 month- Tools
- Download (215.18KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 45 contributors- Shawn M Moore <sartak at gmail.com>
-
Aleksandr Matveev
-
Alex Solovey
-
Bernhard M. Wiedemann
-
Boutros Lab User
-
Brett
-
Chris Prather
-
Daisuke Maki (lestrrat)
-
Daisuke Maki
-
Dann
-
David Steinbrunner
-
Eiichi Tsukata
-
FUJI Goro (gfx)
-
Fuji, Goro
-
Ingy dot Net
-
Jesse Vincent
-
Joel Bernstein
-
John SJ Anderson
-
Kensaku Araga
-
Kent Fredric
-
Luca Ferrari
-
Masahiro Honma
-
Matt S Trout
-
Michael G. Schwern
-
NAKAGAWA Masaki
-
Nick Woolley
-
Piotr Roszatycki
-
Reini Urban
-
Ricardo SIGNES
-
Sergey Kolychev
-
Sergiy Zuban
-
Shawn M Moore
-
Stanislaw Pusep
-
Syohei YOSHIDA
-
Todd Rinaldo
-
Tokuhiro Matsuno
-
Tomas Doran (t0m)
-
Vincent Pit
-
Yuval Kogman
-
markstos
-
mp0liiu
-
sunnavy
-
wu-lee
-
Ævar Arnfjörð Bjarmason
-
大沢 和宏
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
Module Install Instructions
To install Mouse, copy and paste the appropriate command in to your terminal.
cpanm Mouse
perl -MCPAN -e shell install Mouse
For more information on module installation, please visit the detailed CPAN module installation guide.