Re: [WISH] A Perlish way to detect mod_perl major version (= not $ENV{MOD_PERL})

[prev] [thread] [next] [Date index for 2005/03/17]

From: Geoffrey Young
Subject: Re: [WISH] A Perlish way to detect mod_perl major version (= not $ENV{MOD_PERL})
Date: 20:14 on 17 Mar 2005

> Looking at $ENV{'MOD_PERL'} is mostly fine with me, but it does bother me
> that I have to strip out the version using a regex and then compare it to
> 1.99.  (What if the format of that string changes someday?)

yes, exactly.  we just had this same conversation on dev@ last week :)

> $ENV{'MOD_PERL_API_VERSION'} will help there, I think.

great.

--Geoff

Re: [WISH] A Perlish way to detect mod_perl major version (= not $ENV{MOD_PERL})
Geoffrey Young 20:14 on 17 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52