When it comes to Adjusting @INC, I've always modified startup.pl to include something like
use lib qw( /path/to/metadot /path/to/my/code );
You said...
Ubuntu 9.10
Apache2 2.2.12
mod_perl2 2.0.4
It works fine on the production RH server, just not on my development machine.
You can certainly develop on Ubuntu and then run it on Redhat but, along the way, you will likely encounter subtle differences in the way the different distros package their software, what version of what module is available where and such. As a bonus, problems like that can be difficult to track down.
If you're doing more than a bit of casual programming, I'd recommend setting up a virtual server that is as similar to the production environment as you can get. If I were in your shoes, I suppose I'd use RHEL (or CentOS) in a VirtualBox and duplicate the installed software and configuration of the server.
In reply to Re: changing mod_perl's version of %INC
by rowdog
in thread changing mod_perl's version of %INC
by Japhering
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |