Assuming that you are happy with IIS then you can use the Perl for ISAPI extension that ships with the ActiveState Perl distribution (http://aspn.activestate.com/ASPN/docs/ActivePerl/faq/Windows/ActivePerl-Winfaq2.html). The ISAPI extension (implemented as a DLL) is loaded the first time that your Perl script is called and remains in memory.