gmpassos has asked for the wisdom of the Perl Monks concerning the following question:

Well, I need to enable the use of HPL (another HTML/Perl embed) to IIS. On Apache HPL can be called through CGI and mod_perl. But using from mod_perl is the best way, since the Interpreter stay in the memory with the module and everything that you need loaded, and the HPL interpreter can use the memory to cache the parse of the document, db connections and make persistent documents (like FastCGI).

But in IIS you only can use Perl from .pl files that actualy is a call to "perl.exe script.pl" (like the CGI way). From ActivePerl you can use the perliis.dll to already have the interpreter in the memory, what is faster, but not like mod_perl.

There is a way to use mod_perl on IIS (well, I need to try to ask)? I think that not, but there is a way to have a shared memory on Win32 of the Perl variables and have some modules already loaded inside perliis.dll?

I never have used IIS, and probably will use just to enable HPL on it, since I don't know how crazy you can be to use this for commercial purpose, since you haven't all the resources of Linux, is not faster than Apache and the security... (well, FBI know that)! But I need to have HPL on IIS since I have a commercial project that want to use their own servers to host the site, and thei use IIS (if the client want blue bannas, the client want blue bannanas, but I don't recommend blue bannanas), and of course for who wants to use HPL on IIS in their own proejects, since I have the idea to make HPL as a platform idependent of the OS and the DB.

Graciliano M. P.
"The creativity is the expression of the liberty".

Replies are listed 'Best First'.
Re: Perl & ISS + mod_perl
by perrin (Chancellor) on Apr 24, 2003 at 12:51 UTC
    To get functionality like mod_perl on IIS you have to buy a product called PerlEx from ActiveState.