1Moose::Meta::TypeCoerciUosne:r:UCnoinotnr(i3b)uted PerlMDooocsuem:e:nMteattai:o:nTypeCoercion::Union(3)
2
3
4
6 Moose::Meta::TypeCoercion::Union - The Moose Type Coercion metaclass
7 for Unions
8
10 This is a subclass of Moose::Meta::TypeCoercion that is used for
11 Moose::Meta::TypeConstraint::Union objects. =head1 METHODS
12
13 $coercion->has_coercion_for_type
14 This method always returns false.
15
16 $coercion->add_type_coercions
17 This method always throws an error. You cannot add coercions to a
18 union type coercion.
19
20 $coercion->coerce($value)
21 This method will coerce by trying the coercions for each type in
22 the union.
23
25 See "BUGS" in Moose for details on reporting bugs.
26
28 Stevan Little <stevan@iinteractive.com>
29
31 Copyright 2006-2010 by Infinity Interactive, Inc.
32
33 <http://www.iinteractive.com>
34
35 This library is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
38
39
40perl v5.12.2 2010-08-28Moose::Meta::TypeCoercion::Union(3)