{
    "mode": "perldoc",
    "parameter": "Devel::InnerPackage",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Devel%3A%3AInnerPackage/json",
    "generated": "2026-06-03T11:53:22Z",
    "synopsis": "use Foo::Bar;\nuse Devel::InnerPackage qw(listpackages);\nmy @innerpackages = listpackages('Foo::Bar');",
    "sections": {
        "NAME": {
            "content": "Devel::InnerPackage - find all the inner packages of a package\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Foo::Bar;\nuse Devel::InnerPackage qw(listpackages);\n\nmy @innerpackages = listpackages('Foo::Bar');\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Given a file like this\n\npackage Foo::Bar;\n\nsub foo {}\n\n\npackage Foo::Bar::Quux;\n\nsub quux {}\n\npackage Foo::Bar::Quirka;\n\nsub quirka {}\n\n1;\n\nthen\n\nlistpackages('Foo::Bar');\n\nwill return\n\nFoo::Bar::Quux\nFoo::Bar::Quirka\n",
            "subsections": []
        },
        "METHODS": {
            "content": "listpackages <package name>\nReturn a list of all inner packages of that package.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Simon Wistow <simon@thegestalt.org>\n",
            "subsections": []
        },
        "COPYING": {
            "content": "Copyright, 2005 Simon Wistow\n\nDistributed under the same terms as Perl itself.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "None known.\n",
            "subsections": []
        }
    },
    "summary": "Devel::InnerPackage - find all the inner packages of a package",
    "flags": [],
    "examples": [],
    "see_also": []
}