> While I'm sure my opinion is extremely low on the totem, I'd much prefer:
> 
>     $ENV{MOD_PERL} and $ENV{MOD_PERL_VERSION}

yeah, I was going to suggest something along these lines.  perhaps
MOD_PERL_API_VERSION which we can use to affect abi compat or something.  I
just didn't know if the overhead of another mandatory insertion into %ENV
was worth it, but we may be leaving ourselves with no recourse here.

> 
> But that in and of itself means just checking $ENV{MOD_PERL} in MP1
> modules isn't enough, so maybe it's not good to want. :-)
> 
> I'm going to show my sillyness. What does $ENV{MOD_PERL} actually
> contain? I always do if against it, but I've never looked at it's
> contents. Could $ENV{MOD_PERL} be made to hold the MP version, or would
> that break to many things?

I think it does, though the understanding in the docs and throughout time is
merely that it is "true" when running under mod_perl, not that it contains
anything reliable.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to