in reply to
Getting a list of all running apps/processes in Win32 then shutting down a given process
To get the process list (a hash with the pids as a key, use my function). As said before, this function works for the local machine or for a remote machine - just give the ip you want (127.0.0.1 for the local machine).
Then you can just find the pid you want to kill (by doing a search on the processes names, probably) and use the function Win32::Process::KillProcess, like this:
my $actually_killed = Win32::Process::KillProcess($pid,0);
Please note that you should check that the function is returning the pid you killed, to test if it did it OK.