On Tue, 16 Apr 2002, Arul, Rex wrote: > I am not sure, if I should post it here: > > OS: Windows 2000; Perl:ActivePerl 631; Apache:2.0.35; > Mod_Perl:1.99_01 downloaded via PPM under theorynx website. > > In the httpd.conf, I am making the Apache::Registry pointer > to be Apache2::ModPerl::Registry. > > However, when my CGI script is run, I get this error: > > Server error! Error message: Can't locate > ModPerl/RegistryCooker.pm in @INC (@INC contains: C:/Perl/lib > C:/Perl/site/lib .) at > C:/Perl/site/lib/Apache2/ModPerl/Registry.pm line 11. BEGIN > failed--compilation aborted at > C:/Perl/site/lib/Apache2/ModPerl/Registry.pm line 11. > Compilation failed in require at (eval 1) line 3. > > However, on verifying the directory, I am able to see > RegistryCooker.pm file under the @INC path specified. It is > lying right there next to Registry.pm!!!
It looks like the Apache2/ subdirectory isn't being added to @INC. Do you 'use Apache2' in your set-up? Does adding that to your script help? best regards, randy kobes