Moose::Meta::TypeConstraint::Union - A union of Moose type constraints



NAME

Moose::Meta::TypeConstraint::Union - A union of Moose type constraints


DESCRIPTION

This metaclass represents a union of Moose type constraints. More details to be explained later (possibly in a Cookbook::Recipe).

This actually used to be part of Moose::Meta::TypeConstraint, but it is now better off in it's own file.


METHODS

This class is not a subclass of Moose::Meta::TypeConstraint, but it does provide the same API

meta
new
name
type_constraints
constraint

Overriden methods

check
coerce
validate
is_a_type_of
is_subtype_of

Empty or Stub methods

These methods tend to not be very relevant in the context of a union. Either that or they are just difficult to specify and not very useful anyway. They are here for completeness.

parent
coercion
has_coercion
message
has_message
hand_optimized_type_constraint
has_hand_optimized_type_constraint


BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.


AUTHOR

Stevan Little <stevan@iinteractive.com>


COPYRIGHT AND LICENSE

Copyright 2006-2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 Moose::Meta::TypeConstraint::Union - A union of Moose type constraints