Do you know where your variables are? | |
PerlMonks |
Re^3: Unix process number on a mac...by Tuppence (Pilgrim) |
on Mar 16, 2005 at 18:57 UTC ( [id://440094]=note: print w/replies, xml ) | Need Help?? |
Yes, your kill 0, $pid is indeed a much better solution. The only reason to extract the PID with my solution is to check it against the PID that you have stored, which as you say isn't that great when we can just ask the system directly. It still would have worked tho :)
In Section
Seekers of Perl Wisdom
|
|