Syntactic Confectionery Delight | |
PerlMonks |
Re: Help to monitor a PIDby Corion (Patriarch) |
on Sep 13, 2016 at 10:13 UTC ( [id://1171653]=note: print w/replies, xml ) | Need Help?? |
As for your second question: After your sleep, you only update $pid after printing the message. Maybe consider always updating $pid directly after the sleep instead of updating it after printing in two parts of your program:
In Section
Seekers of Perl Wisdom
|
|