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

Dpkg::Exit - program exit handlers

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

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.

Hide variable: @handlers.

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

Deprecated variable: @handlers

Mark the module as public.

2024-02-27 1.22.5