c has asked for the wisdom of the Perl Monks concerning the following question:

i am using the CPAN module to install mod_perl on a linux box that has apache compiled from src rather than from a redhat rpm. when i run

cpan> install mod_perl

all runs well, however, i get

Can't locate object method "new" via package "URI::URL" (perhaps you forgot to load "URI::URL"?) at ../blib/lib/Apache/ line 252. make: *** run_tests Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force

however, when i check my file, it seems to be in good shape and has "new" defined accurately. it also appears that is up to date and current

cpan> install URI::URL
URI::URL is up to date.

any thoughts on how to see just why this isnt seeing the method from thanks -c