1exit(3) User Contributed Perl Documentation exit(3)
2
3
4
6 Tk::exit - End the application
7
9 use Tk qw(exit);
10 ...
11 B<exit>?(I<returnCode>)?;
12
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
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
26 exit, process
27
28
29
30perl v5.12.0 2010-05-13 exit(3)