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 version 2.2206
11
13 This is a subclass of Moose::Meta::TypeCoercion that is used for
14 Moose::Meta::TypeConstraint::Union objects.
15
17 $coercion->has_coercion_for_type
18 This method always returns false.
19
20 $coercion->add_type_coercions
21 This method always throws an error. You cannot add coercions to a union
22 type coercion.
23
24 $coercion->coerce($value)
25 This method will coerce by trying the coercions for each type in the
26 union.
27
29 See "BUGS" in Moose for details on reporting bugs.
30
32 • Stevan Little <stevan@cpan.org>
33
34 • Dave Rolsky <autarch@urth.org>
35
36 • Jesse Luehrs <doy@cpan.org>
37
38 • Shawn M Moore <sartak@cpan.org>
39
40 • יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
41
42 • Karen Etheridge <ether@cpan.org>
43
44 • Florian Ragwitz <rafl@debian.org>
45
46 • Hans Dieter Pearcey <hdp@cpan.org>
47
48 • Chris Prather <chris@prather.org>
49
50 • Matt S Trout <mstrout@cpan.org>
51
53 This software is copyright (c) 2006 by Infinity Interactive, Inc.
54
55 This is free software; you can redistribute it and/or modify it under
56 the same terms as the Perl 5 programming language system itself.
57
58
59
60perl v5.38.0 2023-07-23Moose::Meta::TypeCoercion::Union(3)