in reply to kill 0 always true
This is telling you. Read the entry for kill in perlfunc. The return value is the number of processes that would have received the signal. Since you are only test-killing one, the answer would only ever be 0 or 1. Getting back 1 means that the process ID in $pid is still alive (albeit perhaps frozen), and hasn't changed its UID (so you can still send it signals).
--rjray
|
|---|