Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Moose::Meta::TypeCoercion::Union

Name Moose::Meta::TypeCoercion::Union
Version 2.2201
Located at /usr/local/lib64/perl5
File /usr/local/lib64/perl5/Moose/Meta/TypeCoercion/Union.pm
Is Core No
Search CPAN for this module Moose::Meta::TypeCoercion::Union
Documentation Moose::Meta::TypeCoercion::Union
Module Details Moose::Meta::TypeCoercion::Union


NAME

Moose::Meta::TypeCoercion::Union - The Moose Type Coercion metaclass for Unions


VERSION

version 2.2201


DESCRIPTION

This is a subclass of the Moose::Meta::TypeCoercion manpage that is used for the Moose::Meta::TypeConstraint::Union manpage objects.


METHODS

$coercion->has_coercion_for_type

This method always returns false.

$coercion->add_type_coercions

This method always throws an error. You cannot add coercions to a union type coercion.

$coercion->coerce($value)

This method will coerce by trying the coercions for each type in the union.


BUGS

See Moose/BUGS for details on reporting bugs.


AUTHORS


COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

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

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024