1Moose::Meta::TypeConstrUasienrt:C:oUnntiroinb(u3t)ed PerMlooDsoec:u:mMeenttaa:t:iToynpeConstraint::Union(3)
2
3
4
6 Moose::Meta::TypeConstraint::Union - A union of Moose type constraints
7
9 This metaclass represents a union of Moose type constraints. More
10 details to be explained later (possibly in a Cookbook::Recipe).
11
12 This actually used to be part of Moose::Meta::TypeConstraint, but it is
13 now better off in it's own file.
14
16 This class is not a subclass of Moose::Meta::TypeConstraint, but it
17 does provide the same API
18
19 meta
20 new
21 name
22 type_constraints
23 constraint
24
25 Overriden methods
26
27 check
28 coerce
29 validate
30 is_a_type_of
31 is_subtype_of
32
33 Empty or Stub methods
34
35 These methods tend to not be very relevant in the context of a union.
36 Either that or they are just difficult to specify and not very useful
37 anyway. They are here for completeness.
38
39 parent
40 coercion
41 has_coercion
42 message
43 has_message
44 hand_optimized_type_constraint
45 has_hand_optimized_type_constraint
46
48 All complex software has bugs lurking in it, and this module is no
49 exception. If you find a bug please either email me, or add the bug to
50 cpan-RT.
51
53 Stevan Little <stevan@iinteractive.com>
54
56 Copyright 2006, 2007 by Infinity Interactive, Inc.
57
58 <http://www.iinteractive.com>
59
60 This library is free software; you can redistribute it and/or modify it
61 under the same terms as Perl itself.
62
63
64
65perl v5.8.8 2007-09-M0o6ose::Meta::TypeConstraint::Union(3)