in reply to Is it possible to wait for data in a socket 'in the background'?

Besides the obvious answer (select- Unix-style or IO::Select), you may want to look at POE for advanced design.
  • Comment on Re: Is it possible to wait for data in a socket 'in the background'?