On Mon, Dec 5, 2011 at 6:50 PM, Jay Hacker <[email protected]> wrote:
> Would this work?
>
> http://search.cpan.org/~sharyanto/Process-KillTree-0.02/lib/Process/KillTree.pm
Interesting idea, but it has at least 2 problems:
* It requires Sys::Statistics::Linux::Processes
eval { require Sys::Statistics::Linux::Processes };
* It only works with Linux:
die "Unknown OS ($^O), can't get process table for this OS";
Can we find a solution that is a bit more portable and which does only
requires modules that is part of standard Perl?
/Ole