-
-
14 Feb 2021 12:53:44 UTC
- Distribution: Tk
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (141)
- Testers (1416 / 13 / 0)
- Kwalitee
Bus factor: 2- % Coverage
- License: unrestricted
- Activity
24 month- Tools
- Download (6.7MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- nick@ing-simmons.net (Nick Ing-Simmons)
- Dependencies
- Encode
- Test::More
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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 ofexit
cleans up more reliably than using the perlexit
.CAVEATS
Using
exit
from a forked process will terminate both the child process and the parent process. AsTk::exit
is imported by default one should useCORE::exit
in the forked process instead.KEYWORDS
exit, process
Module Install Instructions
To install Tk, copy and paste the appropriate command in to your terminal.
cpanm Tk
perl -MCPAN -e shell install Tk
For more information on module installation, please visit the detailed CPAN module installation guide.