in reply to Can Perl remain persistent for scripts just like mod_perl does for apache?
Although it refers to CGI, don't be misled into thinking that's all it can do. Sounds perfect for what you are asking for.
Lindsay