in reply to unable to load Apache2::RequestRec

i think Apache is unable to load your Optrack module, because it does not find it in @INC. try adding your path to the module in httpd.conf, something like this:

PerlSwitches -I"C:\path\to\your\module\"

then delete the line:

PerlRequire Optrack

and use your module from Apache like this:

PerlModule Optrack

you can read about passing arguments to Perl from Apache in the mod_perl 2: Server Configuration Guide: Perl Switches.

hope this helps

:)))))

<update time="Thu Oct 5 23:48:41 EEST 2006">
specified the use of PerlModule instead of PerlRequire
</update>

Replies are listed 'Best First'.
Re^2: unable to load Apache2::RequestRec
by opensourcer (Monk) on Oct 06, 2006 at 06:23 UTC
    I c more strange problems with mod_perl on windows. Now it's not able to load CGI.pm, i tried commenting the use Apache2::RequestRec, it worked. I don't know what i c ahead, i thing using PerlSwitches -I"C:\path\to\your\module\" should solve my problem.