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 mod_perl2.pm this is specifically set to ease the porting effort.
It has nothing to do with mod_perl2.pm, the above snippet loads
mod_perl.pm. So if you haven't loaded mod_perl2.pm already the above code
will never be true.
--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]