perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: CGI.pm dependency in Apache2::Status
Date Fri, 11 Mar 2005 20:08:03 GMT


Joe Schaefer wrote:
> Geoffrey Young <geoff@modperlcookbook.org> writes:
> 
> 
> [...]
> 
> 
>>now, CGI.pm can try to decide whether it is running under mp1 or mp2,
>>but unless I'm missing something it's not all that easy.
> 
> 
> How about having it dispatch on the *value* of $ENV{MOD_PERL} (not
> just its mere existence), since the modperl runtime can control 
> that?

that would mean re-parsing "mod_perl/1.29_01-dev" and
"mod_perl/1.999.22-dev" and the like within CGI.pm, right?  I guess so, but
it feels like a lot of extra code in CGI.pm.  but I guess we don't really
have much choice.

--Geoff

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message