{
    "mode": "perldoc",
    "parameter": "Type::Coercion::Union",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Type%3A%3ACoercion%3A%3AUnion/json",
    "generated": "2026-06-10T16:27:22Z",
    "sections": {
        "NAME": {
            "content": "Type::Coercion::Union - a set of coercions to a union type constraint\n",
            "subsections": []
        },
        "STATUS": {
            "content": "This module is covered by the Type-Tiny stability policy.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This package inherits from Type::Coercion; see that for most documentation. The major\ndifferences are that \"addtypecoercions\" always throws an exception, and the\n\"typecoercionmap\" is automatically populated from the child constraints of the union type\nconstraint.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Type::Coercion.\n\nMoose::Meta::TypeCoercion::Union.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Toby Inkster <tobyink@cpan.org>.\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENCE": {
            "content": "This software is copyright (c) 2013-2014, 2017-2021 by Toby Inkster.\n\nThis is free software; you can redistribute it and/or modify it under the same terms as the Perl\n5 programming language system itself.\n",
            "subsections": []
        },
        "DISCLAIMER OF WARRANTIES": {
            "content": "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nWITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.\n",
            "subsections": []
        }
    },
    "summary": "Type::Coercion::Union - a set of coercions to a union type constraint",
    "flags": [],
    "examples": [],
    "see_also": []
}