Do you mean something more like: $ref->{$pid} = $info->{pp_ppid}; That won't solve your problem. I just don't understand how you get anything other than 2 keys with this code. (Of course, this probably happenned in your cut and paste and works perfectly well in the running program.)$ref->{PID} = $pid; $ref->{PPID} = $info->{pp_ppid};
In reply to Re: Memory leaks
by petral
in thread Memory leaks
by mikfire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |