perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Peters <mpet...@plusthree.com>
Subject Re: Occasional problems with URI package under mp
Date Tue, 19 Sep 2006 14:30:41 GMT


Kjetil Kjernsmo wrote:
> On Tuesday 19 September 2006 16:05, Garrett, Philip (MAN-Corporate) 
> wrote:
>>   warn "URI.pm location: $INC{'URI.pm'}\n";
>>
>> If it's different for the failures than it is for the successes, you
>> have your culprit.
> 
> Hmmm, nope, that was OK...

Doesn't look OK to me...

> URI.pm location: /usr/lib/perl5/Apache2/URI.pm
> Can't locate object method "new" via package "URI" at [blah]

That's Apache2::URI, not URI. What does the command line version of that same
script print? Do you have "/usr/lib/perl5/Apache2" in your @INC? If so, you
shouldn't (I believe that was an old 1.99 thing before the change into the
Apache2 namespace).

-- 
Michael Peters
Developer
Plus Three, LP


Mime
View raw message