Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Dpkg::Deps::OR

Name Dpkg::Deps::OR
Version 1.00
Located at /usr/share/perl5
File /usr/share/perl5/Dpkg/Deps/OR.pm
Is Core No
Search CPAN for this module Dpkg::Deps::OR
Documentation Dpkg::Deps::OR
Module Details Dpkg::Deps::OR


NAME

Dpkg::Deps::OR - list of OR dependencies


DESCRIPTION

This class represents a list of dependencies of which only one must be met for the dependency to be true. It inherits from Dpkg::Deps::Multiple.


METHODS

$dep->output([$fh])
The output method uses `` | '' to join the list of sub-dependencies.

$dep->implies($other_dep)
Returns 1 when $dep implies $other_dep. Returns 0 when $dep implies NOT($other_dep). Returns undef when there's no implication. $dep and $other_dep do not need to be of the same type.

$dep->get_evaluation($facts)
Evaluates the dependency given a list of installed packages and a list of virtual packages provided. These lists are part of the Dpkg::Deps::KnownFacts object given as parameters.

Returns 1 when it's true, 0 when it's false, undef when some information is lacking to conclude.

$dep->simplify_deps($facts, @assumed_deps)
Simplifies the dependency as much as possible given the list of facts (see object Dpkg::Deps::KnownFacts) and a list of other dependencies that are known to be true.


CHANGES

Version 1.00 (dpkg 1.15.6)

Mark the module as public.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026