{
    "content": [
        {
            "type": "text",
            "text": "# Specio::Library::Builtins (perldoc)\n\n## NAME\n\nSpecio::Library::Builtins - Implements type constraint objects for Perl's built-in types\n\n## DESCRIPTION\n\nThis library provides a set of types parallel to those provided by Moose.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **DESCRIPTION** (14 subsections)\n- **SUPPORT**\n- **SOURCE**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Specio::Library::Builtins",
        "section": "",
        "mode": "perldoc",
        "summary": "Specio::Library::Builtins - Implements type constraint objects for Perl's built-in types",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 24,
                "subsections": [
                    {
                        "name": "Item",
                        "lines": 2
                    },
                    {
                        "name": "Bool",
                        "lines": 7
                    },
                    {
                        "name": "Undef",
                        "lines": 2
                    },
                    {
                        "name": "Value",
                        "lines": 2
                    },
                    {
                        "name": "Str",
                        "lines": 2
                    },
                    {
                        "name": "Num",
                        "lines": 4
                    },
                    {
                        "name": "Int",
                        "lines": 2
                    },
                    {
                        "name": "ClassName",
                        "lines": 2
                    },
                    {
                        "name": "Ref",
                        "lines": 14
                    },
                    {
                        "name": "CodeRef",
                        "lines": 2
                    },
                    {
                        "name": "RegexpRef",
                        "lines": 2
                    },
                    {
                        "name": "GlobRef",
                        "lines": 2
                    },
                    {
                        "name": "FileHandle",
                        "lines": 4
                    },
                    {
                        "name": "Object",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "SUPPORT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SOURCE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Specio::Library::Builtins - Implements type constraint objects for Perl's built-in types\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.47\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This library provides a set of types parallel to those provided by Moose.\n\nThe types are in the following hierarchy\n\nItem\nBool\nMaybe (of `a)\nUndef\nDefined\nValue\nStr\nNum\nInt\nClassName\nRef\nScalarRef (of `a)\nArrayRef (of `a)\nHashRef (of `a)\nCodeRef\nRegexpRef\nGlobRef\nFileHandle\nObject\n",
                "subsections": [
                    {
                        "name": "Item",
                        "content": "Accepts any value\n"
                    },
                    {
                        "name": "Bool",
                        "content": "Accepts a non-reference that is \"undef\", an empty string, 0, or 1. It also accepts any object\nwhich overloads boolification.\n\nMaybe (of `a)\nA parameterizable type which accepts \"undef\" or the type \"`a\". If not parameterized this type\nwill accept any value.\n"
                    },
                    {
                        "name": "Undef",
                        "content": "Only accepts \"undef\".\n"
                    },
                    {
                        "name": "Value",
                        "content": "Accepts any non-reference value.\n"
                    },
                    {
                        "name": "Str",
                        "content": "Accepts any non-reference value or an object which overloads stringification.\n"
                    },
                    {
                        "name": "Num",
                        "content": "Accepts nearly the same values as \"Scalar::Util::lookslikenumber\", but does not accept numbers\nwith leading or trailing spaces, infinities, or NaN. Also accepts an object which overloads\nnumification.\n"
                    },
                    {
                        "name": "Int",
                        "content": "Accepts any integer value, or an object which overloads numification and numifies to an integer.\n"
                    },
                    {
                        "name": "ClassName",
                        "content": "Accepts any value which passes \"Str\" where the string is a loaded package.\n"
                    },
                    {
                        "name": "Ref",
                        "content": "Accepts any reference.\n\nScalarRef (of `a)\nAccepts a scalar reference or an object which overloads scalar dereferencing. If parameterized,\nthe dereferenced value must be of type \"`a\".\n\nArrayRef (of `a)\nAccepts a array reference or an object which overloads array dereferencing. If parameterized,\nthe values in the arrayref must be of type \"`a\".\n\nHashRef (of `a)\nAccepts a hash reference or an object which overloads hash dereferencing. If parameterized, the\nvalues in the hashref must be of type \"`a\".\n"
                    },
                    {
                        "name": "CodeRef",
                        "content": "Accepts a code (sub) reference or an object which overloads code dereferencing.\n"
                    },
                    {
                        "name": "RegexpRef",
                        "content": "Accepts a regex object created by \"qr//\" or an object which overloads regex interpolation.\n"
                    },
                    {
                        "name": "GlobRef",
                        "content": "Accepts a glob reference or an object which overloads glob dereferencing.\n"
                    },
                    {
                        "name": "FileHandle",
                        "content": "Accepts a glob reference which is an open file handle, any \"IO::Handle\" Object or subclass, or\nan object which overloads glob dereferencing and returns a glob reference which is an open file\nhandle.\n"
                    },
                    {
                        "name": "Object",
                        "content": "Accepts any blessed object.\n"
                    }
                ]
            },
            "SUPPORT": {
                "content": "Bugs may be submitted at <https://github.com/houseabsolute/Specio/issues>.\n\nI am also usually active on IRC as 'autarch' on \"irc://irc.perl.org\".\n",
                "subsections": []
            },
            "SOURCE": {
                "content": "The source code repository for Specio can be found at <https://github.com/houseabsolute/Specio>.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dave Rolsky <autarch@urth.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is Copyright (c) 2012 - 2021 by Dave Rolsky.\n\nThis is free software, licensed under:\n\nThe Artistic License 2.0 (GPL Compatible)\n\nThe full text of the license can be found in the LICENSE file included with this distribution.\n",
                "subsections": []
            }
        }
    }
}