This may go way beyond what you need at the moment, but if you're going to be writing Perl servers to do networking stuff, Lincoln Stein's new book Network Programming With Perl is excellent. It has several seriously real examples that you can borrow from.