1Dpkg::Exit(3perl) libdpkg-perl Dpkg::Exit(3perl)
2
3
4
6 Dpkg::Exit - program exit handlers
7
9 The Dpkg::Exit module provides support functions to run handlers on
10 exit.
11
13 push_exit_handler($func)
14 Register a code reference into the exit function handlers stack.
15
16 pop_exit_handler()
17 Pop the last registered exit handler from the handlers stack.
18
19 run_exit_handlers()
20 Run the registered exit handlers.
21
23 Version 2.00 (dpkg 1.20.0)
24 Hide variable: @handlers.
25
26 Version 1.01 (dpkg 1.17.2)
27 New functions: push_exit_handler(), pop_exit_handler(),
28 run_exit_handlers()
29
30 Deprecated variable: @handlers
31
32 Version 1.00 (dpkg 1.15.6)
33 Mark the module as public.
34
35
36
371.20.9 2021-07-21 Dpkg::Exit(3perl)