{
    "content": [
        {
            "type": "text",
            "text": "# CPAN::Plugin (perldoc)\n\n## NAME\n\nCPAN::Plugin - Base class for CPAN shell extensions\n\n## SYNOPSIS\n\npackage CPAN::Plugin::Flurb;\nuse parent 'CPAN::Plugin';\nsub posttest {\nmy ($self, $distributionobject) = @;\n$self = $self->new (distributionobject => $distributionobject);\n...;\n}\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **METHODS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "CPAN::Plugin",
        "section": "",
        "mode": "perldoc",
        "summary": "CPAN::Plugin - Base class for CPAN shell extensions",
        "synopsis": "package CPAN::Plugin::Flurb;\nuse parent 'CPAN::Plugin';\nsub posttest {\nmy ($self, $distributionobject) = @;\n$self = $self->new (distributionobject => $distributionobject);\n...;\n}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Alpha Status",
                        "lines": 6
                    }
                ]
            },
            {
                "name": "METHODS",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "CPAN::Plugin - Base class for CPAN shell extensions\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "package CPAN::Plugin::Flurb;\nuse parent 'CPAN::Plugin';\n\nsub posttest {\nmy ($self, $distributionobject) = @;\n$self = $self->new (distributionobject => $distributionobject);\n...;\n}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "",
                "subsections": [
                    {
                        "name": "Alpha Status",
                        "content": "The plugin system in the CPAN shell was introduced in version 2.07 and is still considered\nexperimental.\n\nHow Plugins work?\nSee \"Plugin support\" in CPAN.\n"
                    }
                ]
            },
            "METHODS": {
                "content": "pluginrequires\nreturns list of packages given plugin requires for functionality. This list is evaluated using\n\"CPAN->useinst\" method.\n\ndistributionobject\nGet current distribution object.\n\ndistribution\ndistributioninfo\nbuilddir\nSimple delegatees for misc parameters derived from distribution\n\nisxs\nPredicate to detect whether package contains XS.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Branislav Zahradnik <barney@cpan.org>\n",
                "subsections": []
            }
        }
    }
}