{
    "content": [
        {
            "type": "text",
            "text": "# Module::Pluggable::Object (perldoc)\n\n**Summary:** Module::Pluggable::Object - automatically give your module the ability to have plugins\n\n**Synopsis:** Simple use Module::Pluggable -\npackage MyClass;\nuse Module::Pluggable::Object;\nmy $finder = Module::Pluggable::Object->new(%opts);\nprint \"My plugins are: \".join(\", \", $finder->plugins).\"\\n\";\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (8 lines)\n- **DESCRIPTION** (11 lines)\n- **OPTIONS** (2 lines)\n- **AUTHOR** (2 lines)\n- **COPYING** (4 lines)\n- **BUGS** (2 lines)\n- **SEE ALSO** (2 lines)\n\n## Full Content\n\n### NAME\n\nModule::Pluggable::Object - automatically give your module the ability to have plugins\n\n### SYNOPSIS\n\nSimple use Module::Pluggable -\n\npackage MyClass;\nuse Module::Pluggable::Object;\n\nmy $finder = Module::Pluggable::Object->new(%opts);\nprint \"My plugins are: \".join(\", \", $finder->plugins).\"\\n\";\n\n### DESCRIPTION\n\nProvides a simple but, hopefully, extensible way of having 'plugins' for your module. Obviously\nthis isn't going to be the be all and end all of solutions but it works for me.\n\nEssentially all it does is export a method into your namespace that looks through a search path\nfor .pm files and turn those into class names.\n\nOptionally it instantiates those classes for you.\n\nThis object is wrapped by \"Module::Pluggable\". If you want to do something odd or add\nnon-general special features you're probably best to wrap this and produce your own subclass.\n\n### OPTIONS\n\nSee the \"Module::Pluggable\" docs.\n\n### AUTHOR\n\nSimon Wistow <simon@thegestalt.org>\n\n### COPYING\n\nCopyright, 2006 Simon Wistow\n\nDistributed under the same terms as Perl itself.\n\n### BUGS\n\nNone known.\n\n### SEE ALSO\n\nModule::Pluggable\n\n"
        }
    ],
    "structuredContent": {
        "command": "Module::Pluggable::Object",
        "section": "",
        "mode": "perldoc",
        "summary": "Module::Pluggable::Object - automatically give your module the ability to have plugins",
        "synopsis": "Simple use Module::Pluggable -\npackage MyClass;\nuse Module::Pluggable::Object;\nmy $finder = Module::Pluggable::Object->new(%opts);\nprint \"My plugins are: \".join(\", \", $finder->plugins).\"\\n\";",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYING",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Module::Pluggable::Object - automatically give your module the ability to have plugins\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "Simple use Module::Pluggable -\n\npackage MyClass;\nuse Module::Pluggable::Object;\n\nmy $finder = Module::Pluggable::Object->new(%opts);\nprint \"My plugins are: \".join(\", \", $finder->plugins).\"\\n\";\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Provides a simple but, hopefully, extensible way of having 'plugins' for your module. Obviously\nthis isn't going to be the be all and end all of solutions but it works for me.\n\nEssentially all it does is export a method into your namespace that looks through a search path\nfor .pm files and turn those into class names.\n\nOptionally it instantiates those classes for you.\n\nThis object is wrapped by \"Module::Pluggable\". If you want to do something odd or add\nnon-general special features you're probably best to wrap this and produce your own subclass.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "See the \"Module::Pluggable\" docs.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Simon Wistow <simon@thegestalt.org>\n",
                "subsections": []
            },
            "COPYING": {
                "content": "Copyright, 2006 Simon Wistow\n\nDistributed under the same terms as Perl itself.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "None known.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Module::Pluggable\n",
                "subsections": []
            }
        }
    }
}