I want to use Win32::Process::Info to get information if a PID of a process is in use or not, without using the TASKLIST command in Windows which results depends on the language of your OS :S
I've tried the following code, which gave me part of the answer of the puzzle
$pi = Win32::Process::Info->new ();
$MyPID = $$;
@info = $pi->GetProcInfo ($$);
which seems to be a list of anonymous hashes
The module in CPAN don't give an example of how to do this and Googling for info to retrieve info from such a construction, was not successful. I understand the concept of hashes, but not to this deep level.
Can somebody help me out.