in reply to signal handler not called
If you are typing kill PID from the shell, your perl script is recieving $SIG{TERM} so if you are catching that you should be ok.