----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.
&sig_handler{
#your clean up code you want executed
}
sigtrap can be found on cpan, there are more ways to use it... Documented
there.
SrA Jensen
--
To unsubscribe, e-mail: beginners-...@perl.org
For additional commands, e-mail: beginne...@perl.org
No. SIGKILL cannot be caught. If it could, you could prevent the sysadmin
from terminating your process.
SIGKILL is not designed for gracefully terminating. Use SIGTERM and/or
SIGINT for that, both of which can be caught.