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
In reply to Re: kill 0 always true
by rjray
in thread kill 0 always true
by Xxaxx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |