in reply to Re^2: Reading from a filehandle written to by a subroutine?in thread Reading from a filehandle written to by a subroutine?
when you run that code, the printed data will be available in $buffer.