On Wed, 1 Aug 2001, Doug MacEachern wrote:

> On Thu, 2 Aug 2001, Stas Bekman wrote:
>
> > On 1 Aug 2001 [EMAIL PROTECTED] wrote:
> >
> > > dougm       01/08/01 10:03:19
> > >
> > >   Modified:    t/response/TestApache cgihandler.pm
> > >   Log:
> > >   workaround for modules/cgi #3 failure
> >
> > it seems to work :)
>
> cool.  that was a needle in the haystack bug.

:)

> > Now, if I load CGI.pm via the newly crafted PerlModule I've a different
> > problem with modules/cgi #5
> >
> > [Thu Aug 02 09:46:17 2001] [error] [client 127.0.0.1] CGI.pm does not
> > think this is mod_perl at
> > /home/stas/apache.org/modperl-2.0-perlmodule/t/response/TestModules/cgi.pm
> > line 17.
>
> probably because Apache::compat needs to be loaded first.

true. this works:
PerlModule Apache::compat CGI

Now how do we make sure that Apache::compat is loaded before CGI.pm?
Should I put a special case logic into the code that does the actual
require to load Apache::compat if CGI.pm is loaded? This won't work from
<Perl> sections or startup.pl though.

Is the only solution is to document this issue? I'd strive to get it done
automatically. What would be the performance hit to always load it no
matter, whether you need it or not?

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to