in reply to Reading from a filehandle written to by a subroutine?

You can use a tied filehandle. See perltie for details.
  • Comment on Re: Reading from a filehandle written to by a subroutine?