RE: PerlEx, running 5.10 and 5.12 in parallel

"Jan Dubois" <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Organization ActiveState Software Inc
Message-ID <[email protected]>
On Wed, 04 Aug 2010, Ludwig, Michael wrote:
> I have both 5.10 and 5.12 installed in parallel. I have not
> encountered any issues so far, but then I may have been lucky.
>
> In IIS, I have .plex mapped to the PerlEx30.dll shipped with AP 5.10,
> and .p12x mapped to the one shipped with AP
> 5.12. So far, looks like it works.
>
> I noticed there is only one registry entry for PerlEx, which is
> HKEY_LOCAL_MACHINE\SOFTWARE\ActiveState\PerlEx\3.0. The only setting
> that looks specific to one of them, however, is OverLimitFileName. So
> as long as I don't mind having both handlers share one configuration,
> this fact per se shouldn't be an issue.
>
> I'm wondering, however, whether this setup is supposed to work
> (for development), or means running an unnecessary risk of things
> going wrong?

Hi Michael,

I haven't tried this myself, but I think you will need to set up
separate application pools in IIS for the 2 different versions of
PerlEx.  The specifics will depend on the particular version of
IIS you are using, but there should be plenty of resources on the
web providing the details.

It is *possible* that things will work without this separation, but
it is generally a bad idea to load different versions of a DLL into
the same process unless the DLLs also have different names.  It *may*
work in this case because IIS will load PerlEx30.dll using the full
path name, and there are no further DLLs that need to resolve symbols
from this DLL.

Cheers,
-Jan

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.