in reply to While count ---don't see it
This:
is clobbering this $process:foreach $process(@processlist){
One more case for $_, which means Thisun.$process = new Win32::IProcess || die "Unable to create new process!: +$!\n";
use strict; would not have prevented this, but you would be more likely to pay attention to scope.for (@processlist){ $pid = $_ ->{ProcessId}; #...
You don't need to redefine your formats every time through the loop.
After Compline,
Zaxo
|
|---|