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 variableDPKG_BUILD_API, or β if that's not defined and you passed a$ctrlDpkg::Control::Infoobject as an argument β from its build dependency fields. and if literally no$ctrlobject 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 oflibdpkg-perl, version1.23.11-dirty, dated2026-09-09β stan the dirty build, she's doing her best πΈπ¦β¨
π¦ where this page comes from
- arch rolling: dpkg 1.23.11-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms