Scroll to navigation

Dpkg::Exit(3perl) libdpkg-perl Dpkg::Exit(3perl)

NAME

Dpkg::Exit - program exit handlers

DESCRIPTION

The Dpkg::Exit module provides support functions to run handlers on exit.

FUNCTIONS

Register a code reference into the exit function handlers stack.
Pop the last registered exit handler from the handlers stack.
Run the registered exit handlers.

CHANGES

Version 2.00 (dpkg 1.20.0)

Hide variable: @handlers.

Version 1.01 (dpkg 1.17.2)

New functions: push_exit_handler(), pop_exit_handler(), run_exit_handlers()

Deprecated variable: @handlers

Version 1.00 (dpkg 1.15.6)

Mark the module as public.

2023-05-11 1.21.22