{
    "mode": "perldoc",
    "parameter": "Dpkg::BuildProfiles",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Dpkg%3A%3ABuildProfiles/json",
    "generated": "2026-06-12T14:35:54Z",
    "sections": {
        "NAME": {
            "content": "Dpkg::BuildProfiles - handle build profiles\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The Dpkg::BuildProfiles module provides functions to handle the build profiles.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "@profiles = getbuildprofiles()\nGet an array with the currently active build profiles, taken from the environment variable\nDEBBUILDPROFILES.\n",
            "subsections": [
                {
                    "name": "set_build_profiles",
                    "content": "Set @profiles as the current active build profiles, by setting the environment variable\nDEBBUILDPROFILES.\n\n@profiles = parsebuildprofiles($string)\nParses a build profiles specification, into an array of array references.\n"
                },
                {
                    "name": "evaluate_restriction_formula",
                    "content": "Evaluate whether a restriction formula of the form \"<foo bar> <baz>\", given as a nested\narray, is true or false, given the array of enabled build profiles.\n"
                }
            ]
        },
        "CHANGES": {
            "content": "Version 1.00 (dpkg 1.17.17)\nMark the module as public.\n",
            "subsections": []
        }
    },
    "summary": "Dpkg::BuildProfiles - handle build profiles",
    "flags": [],
    "examples": [],
    "see_also": []
}