in reply to Undefined value as a symbol reference

I think you've both hit the nail on the head.

Although writeClient is being called from within the while loop, where $client is a valid variable, $client isn't in scope in writeClient. I failed to realize that I needed to to pass the handle into the subroutine.

Once I did that everything worked like a charm. Thank you both



If you make something idiot-proof, eventually someone will make a better idiot.
I am that better idiot.
  • Comment on Re: Undefined value as a symbol reference