A Perl killall command

I was looking for a nice program that would let me kill a bunch of related processes on a Windows PC, similar to the way the killall command works on Linux. (I find this very useful when I'm testing apps and I have a bunch of windows open.)

I found a Perl program at a "perlmonks" site that does the trick. The biggest problem in getting this script to run was correcting whatever went wrong when copying and pasting the source code from IE into TextPad. Once I removed a bunch of unusual characters from the file this worked well. It also has a nice option to list all process names on a Windows PC, which is useful in itself. An important thing to mention is that you must have a Perl interpreter on your Windows PC, but since I'm already there this was very easy.