httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: cvs commit: httpd-apreq-2/glue/perl/xsbuilder/Apache/Request Request_pm
Date Mon, 05 Apr 2004 23:12:16 GMT
Stas Bekman <stas@stason.org> writes:

> >   -if (\$ENV{MOD_PERL}) {
> >   +if ($ENV{MOD_PERL}) {
> >        require mod_perl;
> >   -    if (\$mod_perl::VERSION > 1.99) {
> >   +    my $env = __PACKAGE__->env || '';
> >   +    if ($mod_perl::VERSION > 1.99) {
> >            die __PACKAGE__ . ": httpd must load mod_apreq.so first"
> >   -               if __PACKAGE__->env ne "Apache::RequestRec";
> >   +               if $env ne "Apache::RequestRec";
> >        }
> >   -    elsif (\$mod_perl::VERSION > 1.24) {
> >   +    elsif ($mod_perl::VERSION > 1.24) {
> >            die __PACKAGE__ . ": httpd must load mod_apreq1.so first"
> >   -              if __PACKAGE__->env ne "Apache";
> >   +              if $env ne "Apache";
> 
> Why are we dealing with apreq1 in apreq2, again?

I'm not sure what you're asking about here, but the code 
in question was part of the plan to backport apreq2's Perl API
to apache-1.3.  If you want to take it out, I won't object
since I'm not going to devote any more time to that effort.

-- 
Joe Schaefer


Mime
View raw message