Hackish indeed! Maybe, but I didn't really want to use a sledgehammer to crack a nut, and I want the script to be as quick as possible.
Also I'd like to understand what was going wrong in my original code. I might cave in to the Unix::PID module now, although it does has a few prereqs:
Warning: prerequisite Class::Std 0 not found. Warning: prerequisite Class::Std::Utils 0 not found. Warning: prerequisite List::Cycle 0 not found. Warning: prerequisite Math::Fibonacci::Phi 0 not found. Warning: prerequisite Time::HiRes 0 not found. Warning: prerequisite version 0 not found.
In reply to Re^2: wrong pid
by js1
in thread wrong pid
by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |