DOKK / manpages / debian 12 / libur-perl / UR::Exit.3pm.en
UR::Exit(3pm) User Contributed Perl Documentation UR::Exit(3pm)

UR::Exit - methods to allow clean application exits.

  UR::Exit->exit_handler(\&mysub);
  UR::Exit->clean_exit($value);

This module provides the ability to perform certain operations before an application exits.

These methods provide exit functionality.

  UR::Exit->exit_handler(\&mysub);
    

Specifies that a given subroutine be run when the application exits. (Unimplimented!)

  UR::Exit->clean_exit($value);
    

Exit the application, running all registered subroutines. (Unimplimented! Just exits the application directly.)

Catch any die or warn calls. This is a universal place to catch die and warn if debugging.
Give more informative warnings.

UR(3), Carp(3)

2022-01-17 perl v5.32.1