Syntactic Confectionery Delight | |
PerlMonks |
Re: ps in perl?by apl (Monsignor) |
on Dec 26, 2007 at 18:23 UTC ( [id://659095]=note: print w/replies, xml ) | Need Help?? |
Or, if you donm't like either of the previous solutions you could do
system( 'ps -ef >/tmp/ps.txt' ); After which you could load the contents of /tmp/ps.txt. It's not elegant, but it's simple and removes a dependency.
In Section
Seekers of Perl Wisdom
|
|