in reply to SetPriorityClass(). An explanation of code please.
To aid your quest for code comprehension, I recommend the following:
Where and how to start learning Perl Perl documentation documentation perldoc.perl.org Code Reading
HTH,