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 Wed, 09 Mar 2005 14:06:29 GMT

>>the note above is the only caveat - Apache2::Status requires either
>>libapreq or CGI.pm, and CGI.pm won't work in it's current state since
>>it uses Apache::-based modules.
> 
> 
> I've looked at the source, and I'm puzzled why there's even
> a dependency on CGI or apreq2 in there.  Looking at the handler's
> treatment of the query string, it looks like the raw query string
> is (part of) a subroutine name, so it's not in the "name=value" format. 
> For GET, that means CGI and apreq are pretty useless.  Is there some 
> clever use of POST data with Apache2::Status?

stas, do you know the history here?

> 
> 
>>so, you'll need to adjust CGI.pm just to get things running again.
> 
> 
> This is something we will need to deal with.  Once we
> can get a fixed CGI.pm on CPAN, I think we should list 
> that as a prereq for mp2.
> 
> In the meantime, there is some namespace aliasing cruft that
> I added to t/conf/modperl_extra.pl, mainly to work around the 
> older CGI.pm.  Not sure what we should do with that idea.  I'm
> generally opposed to binding *Apache:: and *Apache2::, but
> doing it for a few select packages might be justifiable
> somehow.

yeah, let's think on that.  I have some time to work on this today, so I'll
get on it.

--Geoff

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


Mime
View raw message