Stevan Little > Moose-0.54 > Moose::Meta::TypeConstraint::Union

Download:
Moose-0.54.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  11
Open  41
Stalled  8
View/Report Bugs
Module Version: 0.54   Source   Latest Release: Moose-2.1403

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
parents
constraint
includes_type
equals

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.

syntax highlighting: