On Tue, 4 Jun 2002, Stas Bekman wrote: > [EMAIL PROTECTED] wrote: > > > -C<GATEWAY_INTERFACE> - is always set to something like: C<CGI-Perl/1.1> > > +C<GATEWAY_INTERFACE> - is set to C<CGI-Perl/1.1> for compatibility > > +with mod_perl 1.x. The C<MOD_PERL> environment variable has existed > > +since 1.17 and is recommended over checking the contents of > > +C<GATEWAY_INTERFACE>. > > shouldn't it be better to have GATEWAY_INTERFACE documented as > deprecated in 2.0?
i think he pretty much did that without using the word 'deprecated'. but using that word would be fine of course. > I suggest to kill it completely and only set in Apache::compat. Can we? not really. it would require that Apache::compat is loaded at startup, otherwise %ENV is restored to what it was before the request (minus GATEWAY_INTERFACE) and it will never get set again since Apache/compat.pm is in %INC. granted the suggested way to load Apache::compat is at startup, our tests do not do that and there no reason we shouldn't support modules that do: package Apache::Foo; eval { require Apache::compat }; ... 1; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]