{
    "content": [
        {
            "type": "text",
            "text": "# Module::Build::ConfigData (perldoc)\n\n## NAME\n\nModule::Build::ConfigData - Configuration for Module::Build\n\n## SYNOPSIS\n\nuse Module::Build::ConfigData;\n$value = Module::Build::ConfigData->config('foo');\n$value = Module::Build::ConfigData->feature('bar');\n@names = Module::Build::ConfigData->confignames;\n@names = Module::Build::ConfigData->featurenames;\nModule::Build::ConfigData->setconfig(foo => $newvalue);\nModule::Build::ConfigData->setfeature(bar => $newvalue);\nModule::Build::ConfigData->write;  # Save changes\n\n## DESCRIPTION\n\nThis module holds the configuration data for the \"Module::Build\" module. It also provides a\nprogrammatic interface for getting or setting that configuration data. Note that in order to\nactually make changes, you'll have to have write access to the \"Module::Build::ConfigData\"\nmodule, and you should attempt to understand the repercussions of your actions.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **METHODS** (8 subsections)\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Module::Build::ConfigData",
        "section": "",
        "mode": "perldoc",
        "summary": "Module::Build::ConfigData - Configuration for Module::Build",
        "synopsis": "use Module::Build::ConfigData;\n$value = Module::Build::ConfigData->config('foo');\n$value = Module::Build::ConfigData->feature('bar');\n@names = Module::Build::ConfigData->confignames;\n@names = Module::Build::ConfigData->featurenames;\nModule::Build::ConfigData->setconfig(foo => $newvalue);\nModule::Build::ConfigData->setfeature(bar => $newvalue);\nModule::Build::ConfigData->write;  # Save changes",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "config",
                        "lines": 3
                    },
                    {
                        "name": "feature",
                        "lines": 3
                    },
                    {
                        "name": "set_config",
                        "lines": 5
                    },
                    {
                        "name": "set_feature",
                        "lines": 3
                    },
                    {
                        "name": "config_names",
                        "lines": 3
                    },
                    {
                        "name": "feature_names",
                        "lines": 3
                    },
                    {
                        "name": "auto_feature_names",
                        "lines": 4
                    },
                    {
                        "name": "write",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Module::Build::ConfigData - Configuration for Module::Build\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Module::Build::ConfigData;\n$value = Module::Build::ConfigData->config('foo');\n$value = Module::Build::ConfigData->feature('bar');\n\n@names = Module::Build::ConfigData->confignames;\n@names = Module::Build::ConfigData->featurenames;\n\nModule::Build::ConfigData->setconfig(foo => $newvalue);\nModule::Build::ConfigData->setfeature(bar => $newvalue);\nModule::Build::ConfigData->write;  # Save changes\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module holds the configuration data for the \"Module::Build\" module. It also provides a\nprogrammatic interface for getting or setting that configuration data. Note that in order to\nactually make changes, you'll have to have write access to the \"Module::Build::ConfigData\"\nmodule, and you should attempt to understand the repercussions of your actions.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": [
                    {
                        "name": "config",
                        "content": "Given a string argument, returns the value of the configuration item by that name, or\n\"undef\" if no such item exists.\n"
                    },
                    {
                        "name": "feature",
                        "content": "Given a string argument, returns the value of the feature by that name, or \"undef\" if no\nsuch feature exists.\n"
                    },
                    {
                        "name": "set_config",
                        "content": "Sets the configuration item with the given name to the given value. The value may be any\nPerl scalar that will serialize correctly using \"Data::Dumper\". This includes references,\nobjects (usually), and complex data structures. It probably does not include transient\nthings like filehandles or sockets.\n"
                    },
                    {
                        "name": "set_feature",
                        "content": "Sets the feature with the given name to the given boolean value. The value will be converted\nto 0 or 1 automatically.\n"
                    },
                    {
                        "name": "config_names",
                        "content": "Returns a list of all the names of config items currently defined in\n\"Module::Build::ConfigData\", or in scalar context the number of items.\n"
                    },
                    {
                        "name": "feature_names",
                        "content": "Returns a list of all the names of features currently defined in\n\"Module::Build::ConfigData\", or in scalar context the number of features.\n"
                    },
                    {
                        "name": "auto_feature_names",
                        "content": "Returns a list of all the names of features whose availability is dynamically determined, or\nin scalar context the number of such features. Does not include such features that have\nlater been set to a fixed value.\n"
                    },
                    {
                        "name": "write",
                        "content": "Commits any changes from \"setconfig()\" and \"setfeature()\" to disk. Requires write access\nto the \"Module::Build::ConfigData\" module.\n"
                    }
                ]
            },
            "AUTHOR": {
                "content": "\"Module::Build::ConfigData\" was automatically created using \"Module::Build\". \"Module::Build\" was\nwritten by Ken Williams, but he holds no authorship claim or copyright claim to the contents of\n\"Module::Build::ConfigData\".\n",
                "subsections": []
            }
        }
    }
}