Dpkg::Deps::Multiple - base module to represent multiple dependencies
The Dpkg::Deps::Multiple module provides objects implementing various types of dependencies. It is the base class for Dpkg::Deps::{AND,OR,Union}.
Creates a new object.
Clears any dependency information stored in $dep so that $dep->is_empty() returns true.
Adds new dependency objects at the end of the list.
Returns a list of sub-dependencies.
Sorts alphabetically the internal list of dependencies.
Returns true if at least one of the sub-dependencies apply to this architecture.
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.
Returns the list of package names that have such a restriction.
Returns true if at least one of the sub-dependencies apply to this profile.
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.
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.
This method is not meaningful for this object, and will always croak.
New methods: Add $dep->profile_is_concerned() and $dep->reduce_profiles().
New method: Add $dep->reset().
Mark the module as public.
To install Dpkg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dpkg
CPAN shell
perl -MCPAN -e shell install Dpkg
For more information on module installation, please visit the detailed CPAN module installation guide.