man-pages/man3/Dpkg::Build::Env.3perl.html
2021-03-31 01:06:50 +01:00

92 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Dpkg::Build::Env</TITLE>
</HEAD><BODY>
<H1>Dpkg::Build::Env</H1>
Section: libdpkg-perl (3perl)<BR>Updated: 2020-03-23<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Dpkg::Build::Env - track build environment
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The Dpkg::Build::Env module is used by dpkg-buildflags to track the build
environment variables being used and modified.
<A NAME="lbAD">&nbsp;</A>
<H2>FUNCTIONS</H2>
<DL COMPACT>
<DT id="1">set($varname, $value)<DD>
Update the build environment variable <TT>$varname</TT> with value <TT>$value</TT>. Record
it as being accessed and modified.
<DT id="2">get($varname)<DD>
Get the build environment variable <TT>$varname</TT> value. Record it as being
accessed.
<DT id="3">has($varname)<DD>
Return a boolean indicating whether the environment variable exists.
Record it as being accessed.
<DT id="4">@list = <B>list_accessed()</B><DD>
Returns a list of all environment variables that have been accessed.
<DT id="5">@list = <B>list_modified()</B><DD>
Returns a list of all environment variables that have been modified.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>CHANGES</H2>
<A NAME="lbAF">&nbsp;</A>
<H3>Version 0.xx</H3>
This is a private module.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="6"><A HREF="#lbAB">NAME</A><DD>
<DT id="7"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAD">FUNCTIONS</A><DD>
<DT id="9"><A HREF="#lbAE">CHANGES</A><DD>
<DL>
<DT id="10"><A HREF="#lbAF">Version 0.xx</A><DD>
</DL>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:38 GMT, March 31, 2021
</BODY>
</HTML>