{
    "mode": "perldoc",
    "parameter": "Moose::Meta::TypeConstraint::Registry",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Moose%3A%3AMeta%3A%3ATypeConstraint%3A%3ARegistry/json",
    "generated": "2026-06-11T23:50:41Z",
    "sections": {
        "NAME": {
            "content": "Moose::Meta::TypeConstraint::Registry - registry for type constraints\n",
            "subsections": []
        },
        "VERSION": {
            "content": "version 2.2200\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This class is a registry that maps type constraint names to Moose::Meta::TypeConstraint objects.\n\nCurrently, it is only used internally by Moose::Util::TypeConstraints, which creates a single\nglobal registry.\n",
            "subsections": []
        },
        "INHERITANCE": {
            "content": "\"Moose::Meta::TypeConstraint::Registry\" is a subclass of Class::MOP::Object.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "Moose::Meta::TypeConstraint::Registry->new(%options)\nThis creates a new registry object based on the provided %options:\n\n*   parentregistry\n\nThis is an optional Moose::Meta::TypeConstraint::Registry object.\n\n*   typeconstraints\n\nThis is hash reference of type names to type objects. This is optional. Constraints can be\nadded to the registry after it is created.\n\n$registry->getparentregistry\nReturns the registry's parent registry, if it has one.\n\n$registry->hasparentregistry\nReturns true if the registry has a parent.\n\n$registry->setparentregistry($registry)\nSets the parent registry.\n\n$registry->gettypeconstraint($typename)\nThis returns the Moose::Meta::TypeConstraint object from the registry for the given name, if one\nexists.\n\n$registry->hastypeconstraint($typename)\nReturns true if the registry has a type of the given name.\n\n$registry->addtypeconstraint($type)\nAdds a new Moose::Meta::TypeConstraint object to the registry.\n\n$registry->findtypeconstraint($typename)\nThis method looks in the current registry for the named type. If the type is not found, then\nthis method will look in the registry's parent, if it has one.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "See \"BUGS\" in Moose for details on reporting bugs.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "*   Stevan Little <stevan@cpan.org>\n\n*   Dave Rolsky <autarch@urth.org>\n\n*   Jesse Luehrs <doy@cpan.org>\n\n*   Shawn M Moore <sartak@cpan.org>\n\n*   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>\n\n*   Karen Etheridge <ether@cpan.org>\n\n*   Florian Ragwitz <rafl@debian.org>\n\n*   Hans Dieter Pearcey <hdp@cpan.org>\n\n*   Chris Prather <chris@prather.org>\n\n*   Matt S Trout <mstrout@cpan.org>\n",
            "subsections": []
        },
        "COPYRIGHT AND LICENSE": {
            "content": "This software is copyright (c) 2006 by Infinity Interactive, Inc.\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": []
        }
    },
    "summary": "Moose::Meta::TypeConstraint::Registry - registry for type constraints",
    "flags": [],
    "examples": [],
    "see_also": []
}