{
    "content": [
        {
            "type": "text",
            "text": "# Dpkg::Deps::Multiple (perldoc)\n\n## NAME\n\nDpkg::Deps::Multiple - base module to represent multiple dependencies\n\n## DESCRIPTION\n\nThe Dpkg::Deps::Multiple module provides objects implementing various types of dependencies. It\nis the base class for Dpkg::Deps::{AND,OR,Union}.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **METHODS**\n- **CHANGES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Dpkg::Deps::Multiple",
        "section": "",
        "mode": "perldoc",
        "summary": "Dpkg::Deps::Multiple - base module to represent multiple dependencies",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 43,
                "subsections": []
            },
            {
                "name": "CHANGES",
                "lines": 9,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Dpkg::Deps::Multiple - base module to represent multiple dependencies\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The Dpkg::Deps::Multiple module provides objects implementing various types of dependencies. It\nis the base class for Dpkg::Deps::{AND,OR,Union}.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "$dep = Dpkg::Deps::Multiple->new(%opts);\nCreates a new object.\n\n$dep->reset()\nClears any dependency information stored in $dep so that $dep->isempty() returns true.\n\n$dep->add(@deps)\nAdds new dependency objects at the end of the list.\n\n$dep->getdeps()\nReturns a list of sub-dependencies.\n\n$dep->sort()\nSorts alphabetically the internal list of dependencies.\n\n$dep->archisconcerned($arch)\nReturns true if at least one of the sub-dependencies apply to this architecture.\n\n$dep->reducearch($arch)\nSimplifies the dependencies to contain only information relevant to the given architecture.\nThe non-relevant sub-dependencies are simply removed.\n\nThis trims off the architecture restriction list of Dpkg::Deps::Simple objects.\n\n$dep->hasarchrestriction()\nReturns the list of package names that have such a restriction.\n\n$dep->profileisconcerned()\nReturns true if at least one of the sub-dependencies apply to this profile.\n\n$dep->reduceprofiles()\nSimplifies the dependencies to contain only information relevant to the given profile. The\nnon-relevant sub-dependencies are simply removed.\n\nThis trims off the profile restriction list of Dpkg::Deps::Simple objects.\n\n$dep->isempty()\nReturns true if the dependency is empty and doesn't contain any useful information. This is\ntrue when a (descendant of) Dpkg::Deps::Multiple contains an empty list of dependencies.\n\n$dep->mergeunion($otherdep)\nThis method is not meaningful for this object, and will always croak.\n",
                "subsections": []
            },
            "CHANGES": {
                "content": "Version 1.02 (dpkg 1.17.10)\nNew methods: Add $dep->profileisconcerned() and $dep->reduceprofiles().\n\nVersion 1.01 (dpkg 1.16.1)\nNew method: Add $dep->reset().\n\nVersion 1.00 (dpkg 1.15.6)\nMark the module as public.\n",
                "subsections": []
            }
        }
    }
}