RE: catch kill -9 from unix command prompt

2002-12-17 Thread Bob Showalter
> -Original Message- > From: Ken Lehman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 17, 2002 11:52 AM > To: '[EMAIL PROTECTED]' > Subject: catch kill -9 from unix command prompt > > > Is there a way for my program to execute a few lines of code > before dying > when it is sent a

RE: catch kill -9 from unix command prompt

2002-12-17 Thread Jensen Kenneth B SrA AFPC/DPDMPQ
use sigtrap 'handler' => &sig_handler, KILL; &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 -Original Message- From: Ken Lehman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2