Dpkg::Build::Env(3perl)

πŸ“¦
version 1.21.1ubuntu2.6 Β· 2 versions
, in ubuntu jammy

✨ NAME ✨

Dpkg::Build::Env β€” bestie, this one's all about tracking the build environment πŸ’–

(also hi, you're reading the Dpkg::Build::Env(3perl) page from libdpkg-perl, welcome to the function πŸ’…)


🌸 DESCRIPTION 🌸

Okay so. The Dpkg::Build::Env module is what dpkg-buildflags uses to keep tabs on the build environment variables that are getting used and getting modified. That's it, that's the whole job. It's the little note-taker in the group chat who remembers who said what 🫢


πŸ’… FUNCTIONS πŸ’…

  • set($varname, $value) β€” updates the build environment variable $varname with the value $value. It also records that this variable has been accessed and modified, so the receipts are kept, no cap 🧾✨
  • get($varname) β€” grabs the value of the build environment variable $varname. It records this as an access too. Reading is still an activity, bestie πŸ‘€
  • has($varname) β€” returns a boolean telling you whether the environment variable exists or not. And yep, it records that as an access. Everything gets logged, it's giving surveillance but make it cute πŸ™ˆ
  • @list = list_accessed() β€” hands you back a list of all the environment variables that have been accessed. The whole roster, periodt πŸ“‹
  • @list = list_modified() β€” hands you back a list of all the environment variables that have been modified. The glow-up list, if you will 🌈

πŸ¦‹ CHANGES πŸ¦‹

Version 0.xx

  • This is a private module. Not for public consumption, it's on a need-to-know basis, iykyk 🀫

Anyway, that's the whole page! This was Dpkg::Build::Env(3perl) from libdpkg-perl, version 1.21.1, dated 2025-09-09. Thanks for coming to my TED talk, love you, bye πŸ‘‘πŸ’œπŸŽ€

πŸ“¦ where this page comes from