in reply to Perl as a telnet server?

For a basic server, try looking into NetServer::Generic. Look into its types of servers or its section on modes, in the DESCRIPTION.
Gyan Kapur
gyan.kapur@rhhllp.com