in reply to Kill process program??

Between this and your other writeup today, it seems as if you are looking at writing administrative scripts. May I suggest that you find and browse the book Perl for System Administration, by David N. Blank-Edelman, published by O'Reilly and Associates (reviewed here). I suspect that it may cover/introduce several of the items you appear to be interested in (including process control, which appears in chapter 4).

Hope that helps...