{
    "content": [
        {
            "type": "text",
            "text": "# Class::MOP::Method::Wrapped (perldoc)\n\n## NAME\n\nClass::MOP::Method::Wrapped - Method Meta Object for methods with before/after/around modifiers\n\n## DESCRIPTION\n\nThis is a Class::MOP::Method subclass which implements before, after, and around method\nmodifiers.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **DESCRIPTION**\n- **METHODS**\n- **AUTHORS**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Class::MOP::Method::Wrapped",
        "section": "",
        "mode": "perldoc",
        "summary": "Class::MOP::Method::Wrapped - Method Meta Object for methods with before/after/around modifiers",
        "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": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 33,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Class::MOP::Method::Wrapped - Method Meta Object for methods with before/after/around modifiers\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 2.2207\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a Class::MOP::Method subclass which implements before, after, and around method\nmodifiers.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "Class::MOP::Method::Wrapped->wrap($metamethod, %options)\nThis is the constructor. It accepts a Class::MOP::Method object and a hash of options.\n\nThe options are:\n\n*   name\n\nThe method name (without a package name). This will be taken from the provided\nClass::MOP::Method object if it is not provided.\n\n*   packagename\n\nThe package name for the method. This will be taken from the provided Class::MOP::Method\nobject if it is not provided.\n\n*   associatedmetaclass\n\nAn optional Class::MOP::Class object. This is the metaclass for the method's class.\n\n$metamethod->getoriginalmethod\nThis returns the Class::MOP::Method object that was passed to the constructor.\n\n$metamethod->addbeforemodifier($code)\n$metamethod->addaftermodifier($code)\n$metamethod->addaroundmodifier($code)\nThese methods all take a subroutine reference and apply it as a modifier to the original method.\n\n$metamethod->beforemodifiers\n$metamethod->aftermodifiers\n$metamethod->aroundmodifiers\nThese methods all return a list of subroutine references which are acting as the specified type\nof modifier.\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": []
            }
        }
    }
}