1Dpkg::Build::Env(3) libdpkg-perl Dpkg::Build::Env(3)
2
3
4
6 Dpkg::Build::Env - track build environment
7
9 The Dpkg::Build::Env module is used by dpkg-buildflags to track the
10 build environment variables being used and modified.
11
13 $bf->set($varname, $value)
14 Update the build environment variable $varname with value $value.
15 Record it as being accessed and modified.
16
17 $bf->get($varname)
18 Get the build environment variable $varname value. Record it as
19 being accessed.
20
21 $bf->has($varname)
22 Return a boolean indicating whether the environment variable
23 exists. Record it as being accessed.
24
25 @list = $bf->list_accessed()
26 Returns a list of all environment variables that have been
27 accessed.
28
29 @list = $bf->list_modified()
30 Returns a list of all environment variables that have been
31 modified.
32
34 Version 0.xx
35 This is a private module.
36
37
38
391.18.25 2018-06-26 Dpkg::Build::Env(3)