Take a look at Win32::Spawn(COMMAND, ARGS, PID) in the Win32::Process module docs in the ActiveState documentation. Kill($exitcode) and GetExitCode($exitcode) may also be of interest.
Perl is Huffman encoded by design.
Comment on Re: Capture PID from child process on Windows.