Dpkg::Deps::OR(3perl)

πŸ‘‘ NAME πŸ‘‘

okay so bestie, this is the Dpkg::Deps::OR(3perl) manual page β€” the one and only β€” and it's all about Dpkg::Deps::OR, a list of OR dependencies 🌸

✨ DESCRIPTION ✨

okay so 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 β€” family tree slay πŸ’…

πŸ’… METHODS πŸ’…

  • $string = $dep->output([$fh]) β€” the output() method uses " | " to join the list of sub-dependencies. yes, space-pipe-space is the separator, iconic.
  • $tribool = $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. and bestie, $dep and $other_dep do not need to be of the same type. versatile behavior fr fr.
  • $tribool = $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, and undef when some information is lacking to conclude. the "idk yet" return value is so real 😭.
  • $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. getting it as simple as possible, periodt.

πŸ¦‹ CHANGES πŸ¦‹

🌸 Version 1.00 (dpkg 1.15.6) 🌸

Mark the module as public. it's official, bestie πŸ‘‘


xoxo, your Dpkg::Deps::OR(3perl) bestie πŸ’– β€” this page is from libdpkg-perl, version 1.23.11-dirty, dated 2026-09-09. go off and read those deps 🫢

πŸ“¦ where this page comes from