logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Dpkg::Exit - program exit handlers

Changes

Version2.00(dpkg1.20.0) Hide variable: @handlers. Version1.01(dpkg1.17.2) New functions: push_exit_handler(), pop_exit_handler(), run_exit_handlers() Deprecated variable: @handlers Version1.00(dpkg1.15.6) Mark the module as public. 1.22.21 2025-07-14 Dpkg::Exit(3perl)

Description

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

Functions

push_exit_handler($func) Register a code reference into the exit function handlers stack. pop_exit_handler() Pop the last registered exit handler from the handlers stack. run_exit_handlers() Run the registered exit handlers.

Name

Dpkg::Exit - program exit handlers

See Also