I have a small problem with Apache::compat.

I have got some mp1 code running under mp2 using Apache::compat,
but I had to change it a little bit in order to do that.

A few places we have the following:

use Apache::Constants qw(:common :response);

It looks like the response group is missing in Apache::Constants
when running under mp2 with Apache::compat as we get this error:

[Tue Oct 21 13:51:14 2003] [error] [client 127.0.0.1] unknown apache:: group `re
sponse' at /usr/local/lib/perl5/site_perl/5.8.0/mach/Apache2/Apache/compat.pm li
ne 151.

Changing it to "use Apache::Constants qw(:common);" makes it work, but I suspect
that a few constants will then be missing when running it under mp1.

This is with mod_perl/1.99_10. I checked the Changelog via cvsweb, and there
doesn't seem to be any changes regarding this.

As far as I can tell this is a small bug in Apache::compat. If I'm wrong feel
free to enlighten me.

Thanks in advance.

-- 
Best regards
    Christian Laursen

Reply via email to