Dpkg::BuildAPI(3perl)

✨ NAME ✨

Dpkg::BuildAPI β€” handle build API versions πŸŽ€


🌸 DESCRIPTION 🌸

okay so Dpkg::BuildAPI is this module that gives you functions to fetch the current dpkg build API level. that's literally its whole thing and it ate πŸ’…

🫢 bestie listen: this is a private module β€” its API can change at any time. no cap, no warning era. so don't go building your whole personality on it iykyk 😭

πŸ’– FUNCTIONS πŸ’–

  • $level = get_build_api([$ctrl]) β€” gets you the build API level ✨ it pulls from the environment variable DPKG_BUILD_API, or β€” if that's not defined and you passed a $ctrl Dpkg::Control::Info object as an argument β€” from its build dependency fields. and if literally no $ctrl object gets passed? it just returns the previous value obtained 🫢 lowkey convenient fr fr.
  • reset_build_api() β€” resets the cached build API level πŸ”₯ clean slate energy, main character move.

πŸ¦‹ CHANGES πŸ¦‹

⭐ Version 0.xx

  • this is a private module πŸ™ˆ that's the whole changelog bestie, it's giving minimal and honestly? iconic.

πŸ’– that's the whole page, you slayed by reading it πŸ’–

πŸŽ€ cute little sign-off: this gem ships as part of libdpkg-perl, version 1.23.11-dirty, dated 2026-09-09 β€” stan the dirty build, she's doing her best πŸŒΈπŸ¦‹βœ¨
πŸ“¦ where this page comes from