In the previous articles we first used the Net::Server module directly that could handle only one client at a time. That was good for development but not very useful in the general case.

Then we switched to using Net::Server::PreFork that could handle multiple servers. The switch was seamless, and it could handle several clients, but that was still not good to develop a chat server. In this article we'll see how that can be done.