m31 wrote:

> I think we've narrowed it down to three choices, but why would my @INC 
> list one thing from the terminal and another from mod_perl? Are they two 
> seperate @INC's?

mod_perl adds a few dirs to @INC on its own, but I still cannot 
understand what is your problem. Let's say you want to add 
'/Library/www/lib' to @INC. So inside startup.pl you do:

use lib qw(/Library/www/lib);

and that's it!

Remember that you cannot affect @INC for the whole server from your 
handlers/scripts, as it gets reset after each request to the value it 
had after startup, so you can only change it during startup.

-- 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to