perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: issues with figuring out which mp version is running
Date Thu, 26 Jan 2006 04:54:22 GMT
Philip M. Gollucci wrote:
>>   use constant MP2 => eval { require mod_perl; $mod_perl::VERSION > 
>> 1.99 };
>> so MP2 can never be true, since it should be mod_perl2 not mod_perl. 
>> Since I don't have mp1 installed (which I guess happens to work 
>> instead) the module doesn't work.
> I've  been out of the game for a while, but this is not true.
> In this is specifically set to ease the porting effort.

It has nothing to do with, the above snippet loads So if you haven't loaded already the above code 
will never be true.

Stas Bekman
MailChannels: Assured Messaging(TM)
The "Practical mod_perl" book

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message