aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-AtExit/pkg-descr
blob: 84a3d1e1d242ad6c2350837ca4b35179bea8cdd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
The AtExit module provides ANSI-C style exit processing modeled after
the atexit function in the standard C library (see atexit(3C)).  Various
exit processing routines may be registered by calling atexit and passing
it the desired subroutine along with any desired arguments.  Then, at
program-exit time, the subroutines registered with atexit are invoked
with their given arguments in the reverse order of registration (last
one registered is invoked first).  Registering the same subroutine more
than once will cause that subroutine to be invoked once for each
registration.

WWW: https://metacpan.org/release/AtExit