Tk::exit - End the application
use Tk qw(exit); ... B<exit>?(I<returnCode>)?;
User Contributed Perl Documentation exit(3) NAME Tk::exit - End the application SYNOPSIS use Tk qw(exit); ... B<exit>?(I<returnCode>)?; DESCRIPTION Terminate the process, returning returnCode to the system as the exit status. If returnCode isn't specified then it defaults to 0. If calling "exit" from code invoked via a Tk callback then this Tk version of "exit" cleans up more reliably than using the perl "exit". CAVEATS Using "exit" from a forked process will terminate both the child process and the parent process. As "Tk::exit" is imported by default one should use "CORE::exit" in the forked process instead. KEYWORDS exit, process ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+----------------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+----------------------------+ |Availability | library/perl-5/perl-tk-532 | +---------------+----------------------------+ |Stability | Volatile | +---------------+----------------------------+ NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-804.036.tar.gz. Further information about this software can be found on the open source community website at http://search.cpan.org/~srezic/Tk. perl v5.32.0 2013-11-15 exit(3)