As much as your question sounds like "I get errors using
Perl, what am I doing wrong?", here goes:
- Check your @INC, and your LIBS path. You can use libs
or modify your environment, or move files around or soft-link them,
but they have to be at the ready. If required, make a test
script which tells you these, or spit them into an error
log using CGI::Carp. You can also put stuff in your httpd.conf
too.
- Check your permissions, such that your Apache user (i.e.
'nobody') can read the modules
- Make sure that mod_perl was built with the same version
of Perl as you are currently using. No sense trying to
fuss around with things when mod_perl is built with Perl 5.6.1
and you're installing into the 5.6.0 directory.
- When in doubt, sync up everything by building from scratch.
Make sure you do it in the order: Perl, mod_perl, Apache.
- When all else fails, post some interesting error messages.