Thank you all for your replies. I am going to look at POE and Coroutine in the future, because it looks like they would both solve this problem. However, I've found a alternative to running all of these commands that serves me better.
I'm going to use the Sun::Solaris::Kstat module to pull all of these stats, and update at the same time. So it'll take a matter of nanoseconds to get all the stats I need every five seconds instead of having to wait on shell commands.
It'll be pretty sweet when its done. Look for it on freshmeat!
In reply to Re: Running Subroutines in Parallel
by yid
in thread Running Subroutines in Parallel
by yid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |