in reply to Re: open to a scalar variable
in thread open to a scalar variable

It turns out that once the filehandles are working properly I don't need to read from the filehandle, I can just read $message normally. Thank you.