Hello.
I want to write a TCP server which dispatches command queues to worker threads. I tried Thread::Queue and Thread::Queue::Any, but I can't pass IO::Socket objects over them. After reading http://www.nntp.perl.org/group/perl.ithreads/2008/02/msg1238.html I started to think that my design is wrong.
So I ask you for guidence. What is the best way to accomplish a server where the main thread dispatches command queues to worker threads?
So far I got this: http://sial.org/pbot/36818
Thanks.