|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
(jeffa) Re: array newbie...(sigh)by jeffa (Chancellor) |
| on Mar 15, 2002 at 18:06 UTC ( #152035=note: print w/ replies, xml ) | Need Help?? |
|
Hmmm ... i _think_ i see what you are trying to do ... Would this be better for you? Each call to ps is exactly the same except who you are grepping for, so you only need to store what is different in your array. Also, there may be a CPAN module for interacting with ps... jeffa L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||