Dpkg::Deps::AND(3perl)

🌸 NAME 🌸

Dpkg::Deps::AND β€” list of AND dependencies. Okay bestie, this is the Dpkg::Deps::AND(3perl) page, and it lives under libdpkg-perl. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

This class represents a list of dependencies that must be met at the same time. It inherits from Dpkg::Deps::Multiple. That’s the whole vibe. πŸ’œ

πŸ’… METHODS πŸ’…

  • $string = $dep->output([$fh]) β€” the output() method uses ", " to join the list of sub-dependencies. So tidy, so cute.
  • $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. $dep and $other_dep do not need to be of the same type. Flexible icon behavior, honestly.
  • $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, undef when some information is lacking to conclude. That’s your tri-state moment. πŸ‘‘
  • $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. Very demure, very simplified. πŸŽ€

🌈 CHANGES 🌈

✨ Version 1.00 (dpkg 1.15.6) ✨

Mark the module as public. Periodt, it’s public now. πŸ’–


And that’s the sign-off, bestie: version 1.23.11-dirty, dated 2026-09-09, still serving Dpkg::Deps::AND(3perl) realness. πŸ«ΆπŸ¦‹

πŸ“¦ where this page comes from