{
    "mode": "perldoc",
    "parameter": "Dpkg::BuildAPI",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3ABuildAPI/json",
    "generated": "2026-10-04T11:27:20Z",
    "sections": {
        "NAME": {
            "content": "Dpkg::BuildAPI - handle build API versions\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The Dpkg::BuildAPI module provides functions to fetch the current dpkg build API level.\n\nNote: This is a private module, its API can change at any time.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "$level = getbuildapi([$ctrl])\nGet the build API level, from the environment variable DPKGBUILDAPI, or if not defined and\na $ctrl Dpkg::Control::Info object passed as an argument, from its build dependency fields.\nIf no $ctrl object gets passed the previous value obtained is returned.\n",
            "subsections": [
                {
                    "name": "reset_build_api",
                    "content": "Reset the cached build API level.\n"
                }
            ]
        },
        "CHANGES": {
            "content": "",
            "subsections": [
                {
                    "name": "Version 0.xx",
                    "content": "This is a private module.\n"
                }
            ]
        }
    },
    "summary": "Dpkg::BuildAPI - handle build API versions",
    "flags": [],
    "examples": [],
    "see_also": []
}