Geoffrey Young <[EMAIL PROTECTED]> writes:

> Christian Laursen wrote:
> > 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
>
> nope, you're right - Apache::compat just passes whatever import tags
> you specify to Apache::Const, and there's no :response tag in mp2.
> 
> the only real reason I've ever seen anyone use :response is for
> REDIRECT, which now exists in :common, so I suspect that's why your
> code worked.

Yes, I only skimmed through the code in question, and I think REDIRECT
is the only symbol from :response, that is used.

> anyway, try this patch (against current CVS - I'm not sure if there
> have been changes since the last release) which weeds out attempts to
> import non-existent tags.

Thank you, it works. The code now runs unmodified.

-- 
Best regards
    Christian Laursen

Reply via email to