UR::Exit(3pm)

UR::Exit3pm

Methods to allow clean application exits.

Usage

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

Overview

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

Methods

These methods provide exit functionality.

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

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

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

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

death

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

warning

Give more informative warnings.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10–11
  4. 12
  5. 13

From libur-perl 0.470+ds-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.