17 Dec 2002 18:07:13 UTC
- Distribution: POE-Component-TSTP
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (2004 / 0 / 0)
- KwaliteeBus factor: 0
- 32.43% Coverage
- License: unknown
- Activity24 month
- Download (1.65KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionMSERGEANT Matt Sergeant
Take me over?The maintainer of this distribution is looking for someone to take over! If you're interested then please contact them via email.
POE::Component::TSTP - A POE Component to handle Ctrl-Z
use POE; use POE::Component::TSTP; POE::Component::TSTP->create(); # Rest of your POE program here
By default, POE applications do not respond to Ctrl-Z due to slightly strange signal handling semantics. This module fixes that.
You can pass in two options to the
An Alias for the component. By default it is called "tstp_handler".
A subref that will be called just before suspending your program.
A subref that will be called just after your program has returned from suspension (usually via the
Matt Sergeant, email@example.com
This is free software. You may use it and distribute it under the same terms as perl itself.
Module Install Instructions
To install POE::Component::TSTP, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install POE::Component::TSTP
For more information on module installation, please visit the detailed CPAN module installation guide.