I'm trying to replicate a development environment with the following components:
Ubuntu 9.10
Apache2 2.2.12
mod_perl2 2.0.4
and a perl based portal package
Metadot 6.4.5.3
Metadot code sits outside of the installed %INC paths.
In theory, I should be able to set and export PERL5LIB in the root shell before starting Apache2 and have the contents added to %INC.
When I set PERL5LIB and run perl -V in the root shell, I see that %INC has been appropriately modified.
I verify that there are NO Apache instances running. Check to make sure PERL5LIB is set as desired in the root shell environment. Then I start Apache.
The first page I hit that calls a Metadot routine errors out with a "Can't locate Metadot.pm in @INC ..." message where the displayed %INC does not include the contents of PERL5LIB.
It works fine on the production RH server, just not on my development machine.
Anyone have any ideas of what I might be doing wrong?
Thanks
In reply to changing mod_perl's version of %INC by Japhering
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |