![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: ps in perl?by dug (Chaplain) |
on Dec 26, 2007 at 19:03 UTC ( #659099=note: print w/replies, xml ) | Need Help?? |
Perl provides you with a mechanism for reading the output of a system command, via backticks or the qx operator, which means you can eliminate the temporary file and process the output directly:
I've used the Proc::ProcessTable module with success, and second McDarren's recommendation, though. -- Douglas Hunter
In Section
Seekers of Perl Wisdom
|
|