1Dpkg::Deps::OR(3perl) libdpkg-perl Dpkg::Deps::OR(3perl)
2
3
4
6 Dpkg::Deps::OR - list of OR dependencies
7
9 This class represents a list of dependencies of which only one must be
10 met for the dependency to be true. It inherits from
11 Dpkg::Deps::Multiple.
12
14 $dep->output([$fh])
15 The output method uses " | " to join the list of sub-dependencies.
16
17 $dep->implies($other_dep)
18 Returns 1 when $dep implies $other_dep. Returns 0 when $dep implies
19 NOT($other_dep). Returns undef when there's no implication. $dep
20 and $other_dep do not need to be of the same type.
21
22 $dep->get_evaluation($facts)
23 Evaluates the dependency given a list of installed packages and a
24 list of virtual packages provided. These lists are part of the
25 Dpkg::Deps::KnownFacts object given as parameters.
26
27 Returns 1 when it's true, 0 when it's false, undef when some
28 information is lacking to conclude.
29
30 $dep->simplify_deps($facts, @assumed_deps)
31 Simplifies the dependency as much as possible given the list of
32 facts (see object Dpkg::Deps::KnownFacts) and a list of other
33 dependencies that are known to be true.
34
36 Version 1.00 (dpkg 1.15.6)
37 Mark the module as public.
38
39
40
411.20.9 2021-07-21 Dpkg::Deps::OR(3perl)