On Wed, 2 Aug 2006, Tom Schindl wrote:

Georg Grabler schrieb:
A the logfile says, i execute the method using Apache2.
[ .. ]
Do you have mp1 and mp2 installed in the same perl-tree.

If yes then it's clear why you always get to
"$self->{'MOD_PERL_VERSION'} = 1;". To distinguish if running in mp1 or
mp2 a module should use totally different code.

if (exists $ENV{MOD_PERL_API_VERSION} && $ENV{MOD_PERL_API_VERSION} == 2) {
require Apache2::Response;
require Apache2::RequestRec;
require Apache2::RequestUtil;
require Apache2::RequestIO;
// ...
} else {
require Apache;
// ...
}

I'd advice the Apache2::SOAP maintainer that he will get into trouble
when mp1 and mp2 are installed in the same tree.

Thanks, Tom! I'll incorporate that change and upload a
new Apache2-SOAP version in the next couple of days.

--
best regards,
Randy

Reply via email to