in reply to server dealing with multiple simultaneous socket connections
On a larger scale you can try POE.
In Advanced Perl Programming and Perl Cookbook are examples as well.