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

84 lines
1.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Dpkg::Exit</TITLE>
</HEAD><BODY>
<H1>Dpkg::Exit</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::Exit - program exit handlers
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The Dpkg::Exit module provides support functions to run handlers on exit.
<A NAME="lbAD">&nbsp;</A>
<H2>FUNCTIONS</H2>
<DL COMPACT>
<DT id="1">push_exit_handler($func)<DD>
Register a code reference into the exit function handlers stack.
<DT id="2"><B>pop_exit_handler()</B><DD>
Pop the last registered exit handler from the handlers stack.
<DT id="3"><B>run_exit_handlers()</B><DD>
Run the registered exit handlers.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>CHANGES</H2>
<A NAME="lbAF">&nbsp;</A>
<H3>Version 1.01 (dpkg 1.17.2)</H3>
New functions: <B>push_exit_handler()</B>, <B>pop_exit_handler()</B>, <B>run_exit_handlers()</B>
<P>
Deprecated variable: <TT>@handlers</TT>
<A NAME="lbAG">&nbsp;</A>
<H3>Version 1.00 (dpkg 1.15.6)</H3>
Mark the module as public.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="4"><A HREF="#lbAB">NAME</A><DD>
<DT id="5"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="6"><A HREF="#lbAD">FUNCTIONS</A><DD>
<DT id="7"><A HREF="#lbAE">CHANGES</A><DD>
<DL>
<DT id="8"><A HREF="#lbAF">Version 1.01 (dpkg 1.17.2)</A><DD>
<DT id="9"><A HREF="#lbAG">Version 1.00 (dpkg 1.15.6)</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:39 GMT, March 31, 2021
</BODY>
</HTML>