On Thu, 6 Sep 2007, James E Keenan wrote: > The problem with having global filehandles STDOUT and STDERR being > manipulated quite deep into a program is that it stymies you from doing > anything with those handles higher up at the surface of your program.
> While the particular reason why _run_command() was problematic for me is > not of earth-shaking consequence, I can't help but wonder: Is there any > other way we could achieve _run_command()'s objectives without its > internal manipulation of global filehandles? I haven't looked deeply at this at all, but I do note that IPC::Open3 does untie *STDIN; untie *STDOUT; presumably for similar reasons. -- Andy Dougherty [EMAIL PROTECTED]