Not found locally for Dpkg::Deps::Multiple. Try Google search
Dpkg::Deps::Multiple(3perl) libdpkg-perl Dpkg::Deps::Multiple(3perl)
Dpkg::Deps::Multiple - base module to represent multiple dependencies
| Use Case | Command | Description |
|---|---|---|
| Create a new multiple dependency object | Dpkg::Deps::Multiple->new(%opts) | Creates a new object |
| Reset dependency information | $dep->reset() | Clears dependency info so is_empty() returns true |
| Add sub‑dependencies | $dep->add(@deps) | Adds new dependency objects at the end of the list |
| Check if dependency is empty | $dep->is_empty() | Returns true if empty and contains no useful info |
| Sort dependencies alphabetically | $dep->sort() | Sorts the internal list of dependencies |
| Reduce to architecture‑specific | $dep->reduce_arch($arch) | Simplifies dependencies for a given architecture |
| Reduce to profile‑specific | $dep->reduce_profiles() | Simplifies dependencies for a given profile |
The Dpkg::Deps::Multiple module provides objects implementing various types of dependencies. It is the base class for Dpkg::Deps::{AND,OR,Union}.
$dep = Dpkg::Deps::Multiple->new(%opts); — Creates a new object.$dep->reset() — Clears any dependency information stored in $dep so that $dep->is_empty() returns true.$dep->add(@deps) — Adds new dependency objects at the end of the list.$dep->get_deps() — Returns a list of sub‑dependencies.$dep->sort() — Sorts alphabetically the internal list of dependencies.$dep->arch_is_concerned($arch) — Returns true if at least one of the sub‑dependencies apply to this architecture.$dep->reduce_arch($arch) — Simplifies the dependencies to contain only information relevant to the given architecture. The non‑relevant sub‑dependencies are simply removed. This trims off the architecture restriction list of Dpkg::Deps::Simple objects.$dep->has_arch_restriction() — Returns the list of package names that have such a restriction.$dep->profile_is_concerned() — Returns true if at least one of the sub‑dependencies apply to this profile.$dep->reduce_profiles() — Simplifies the dependencies to contain only information relevant to the given profile. The non‑relevant sub‑dependencies are simply removed. This trims off the profile restriction list of Dpkg::Deps::Simple objects.$dep->is_empty() — Returns true if the dependency is empty and doesn't contain any useful information. This is true when a (descendant of) Dpkg::Deps::Multiple contains an empty list of dependencies.$dep->merge_union($other_dep) — This method is not meaningful for this object, and will always croak.$dep->profile_is_concerned() and $dep->reduce_profiles().$dep->reset().1.21.1 2025-09-09 Dpkg::Deps::Multiple(3perl)
Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:49 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)