in reply to Followup to redirecting filehandles

Okay, couple of pointers, 'xcuse me if I'm wrong

Are you using strict ?, -w ?...
@result is supposed to be empty I think, because it
goes out of scope the second that 'if ($Pid)' closure ends.
Maybe you pre-declared it in real life but not in the
code I see here...
or maybe it really IS empty in that closure
But wouldn't know that ;))

I'll try some stuff...
  • Comment on Re: Followup to redirecting filehandles