{
    "content": [
        {
            "type": "text",
            "text": "# Devel::OverloadInfo (perldoc)\n\n## NAME\n\nDevel::OverloadInfo - introspect overloaded operators\n\n## DESCRIPTION\n\nDevel::OverloadInfo returns information about overloaded operators for a given class (or\nobject), including where in the inheritance hierarchy the overloads are declared and where the\ncode implementing them is.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **DESCRIPTION**\n- **FUNCTIONS**\n- **CAVEATS**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Devel::OverloadInfo",
        "section": "",
        "mode": "perldoc",
        "summary": "Devel::OverloadInfo - introspect overloaded operators",
        "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": 4,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 48,
                "subsections": []
            },
            {
                "name": "CAVEATS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Devel::OverloadInfo - introspect overloaded operators\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 0.007\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Devel::OverloadInfo returns information about overloaded operators for a given class (or\nobject), including where in the inheritance hierarchy the overloads are declared and where the\ncode implementing them is.\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "isoverloaded\nif (isoverloaded($classorobject)) { ... }\n\nReturns a boolean indicating whether the given class or object has any overloading declared.\nNote that a bare \"use overload;\" with no actual operators counts as being overloaded.\n\nEquivalent to overload::Overloaded(), but doesn't trigger various bugs associated with it in\nversions of perl before 5.16.\n\noverloadopinfo\nmy $info = overloadopinfo($classorobject, $op);\n\nReturns a hash reference with information about the specified overloaded operator of the named\nclass or blessed object.\n\nReturns \"undef\" if the operator is not overloaded.\n\nSee \"Overloadable Operations\" in overload for the available operators.\n\nThe keys in the returned hash are as follows:\n\nclass\nThe name of the class in which the operator overloading was declared.\n\ncode\nA reference to the function implementing the overloaded operator.\n\ncodename\nThe fully qualified name of the function implementing the overloaded operator.\n\nmethodname (optional)\nThe name of the method implementing the overloaded operator, if the overloading was\nspecified as a named method, e.g. \"use overload $op => 'method';\".\n\ncodeclass (optional)\nThe name of the class in which the method specified by \"methodname\" was found.\n\nvalue (optional)\nFor the special \"fallback\" key, the value it was given in \"class\".\n\noverloadinfo\nmy $info = overloadinfo($classorobject);\n\nReturns a hash reference with information about all the overloaded operators of specified class\nname or blessed object. The keys are the overloaded operators, as specified in %overload::ops\n(see \"Overloadable Operations\" in overload), and the values are the hashes returned by\n\"overloadopinfo\".\n",
                "subsections": []
            },
            "CAVEATS": {
                "content": "Whether the \"fallback\" key exists when it has its default value of \"undef\" varies between perl\nversions: Before 5.18 it's there, in later versions it's not.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This software is copyright (c) 2014 by Dagfinn Ilmari Mannsåker.\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": []
            }
        }
    }
}