1exit(3)               User Contributed Perl Documentation              exit(3)
2
3
4

NAME

6       Tk::exit - End the application
7

SYNOPSIS

9           use Tk qw(exit);
10           ...
11           B<exit>?(I<returnCode>)?;
12

DESCRIPTION

14       Terminate the process, returning returnCode to the system as the exit
15       status.  If returnCode isn't specified then it defaults to 0.
16
17       If calling "exit" from code invoked via a Tk callback then this Tk
18       version of "exit" cleans up more reliably than using the perl "exit".
19

CAVEATS

21       Using "exit" from a forked process will terminate both the child
22       process and the parent process. As "Tk::exit" is imported by default
23       one should use "CORE::exit" in the forked process instead.
24

KEYWORDS

26       exit, process
27
28
29
30perl v5.16.3                      2014-06-10                           exit(3)
Impressum