Take a look at the Perl Cookbook, chapter 17. Recipes 17.15 and 17.16 will give you pointers on Daemons, Uses and Pitfalls there of. Recipes 17.11 (Forking Servers), 17.12 (Pre-Forking Severs), and 17.13 (Non-Forking Servers) are also useful, discussing the various ways the communications can be set up between the Server and the Servee.