Dpkg::BuildEnv(3perl)

πŸ’– Dpkg::BuildEnv πŸ’–

okay so this is Dpkg::BuildEnv from libdpkg-perl (3perl section, iykyk) β€” the little module that keeps receipts on your build environment ✨


πŸŽ€ NAME πŸŽ€

Dpkg::BuildEnv β€” it tracks the build environment, bestie. That's the whole vibe. πŸ’…


✨ DESCRIPTION ✨

So like, the Dpkg::BuildEnv module is the one dpkg-buildflags leans on to keep track of the build environment variables that are being used and modified. It's literally the group-chat admin of env vars β€” it knows who spoke and who got edited. πŸ‘‘

⚠️ Note: this is a private module, and its API can change at any time. No cap. Don't build your whole personality on it. 😭

πŸ¦‹ FUNCTIONS πŸ¦‹

set($varname, $value)

Updates the build environment variable $varname with the value $value. And yes, it records it as being accessed and modified β€” both receipts get filed. 🧾✨

$value = get($varname)

Gets the value of the build environment variable $varname. Records it as being accessed. Just accessed, that's it β€” no modification energy here. πŸ™ˆ

$bool = has($varname)

Returns a boolean telling you whether the environment variable actually exists. Also records it as being accessed. A little vibe check, basically. βœ…

@list = list_accessed()

Returns a list of all the environment variables that have been accessed. The whole "who's been in my DMs" list. πŸ“‹

@list = list_modified()

Returns a list of all the environment variables that have been modified. The "who got changed" list. Different list, same icon energy. πŸ”₯


🌈 CHANGES 🌈

Version 0.xx

This is a private module. That's it, that's the changelog. πŸ’€


okay that's the whole page, you ate that 🫢 β€” this was Dpkg::BuildEnv(3perl), version 1.23.11-dirty, dated 2026-09-09, brought to you by libdpkg-perl. mwah πŸ’‹

πŸ“¦ where this page comes from