Re: Upgrading Kwiki -- How?
[email protected] (Todd Ross) Thu, 13 Jan 2005 16:53:00 -0600
| Newsgroups | perl.kwiki |
|---|---|
| Message-ID | <[email protected]> |
John Cappiello wrote: > > On Jan 13, 2005, at 5:13 PM, Todd Ross wrote: > >> I then have to modify index.cgi and add the following 'use lib' >> statements: >> >> use lib '<home_dir>/local_perl/lib/perl5'; >> use lib '<home_dir>/local_perl/lib/perl5/site_perl'; > > > I'm not the smartest person in the world when it comes to this, but I think > you need to modify your @INC value to include > <home_dir>/local_perl/lib/perl5 > and whatever other directories you need. > > Then the default use lib; in index.cgi won't matter. I tried setting PERL5LIB from the .htaccess using mod_env, but mod_env isn't supported at my host. Being a shared hosting environment, I obviously don't have access to recompile Perl to include my local_perl globally (nor would that be desireable even if I did). The only way I could get this working was to add 'use lib' statements to the index.cgi. All of the above would modify the @INC, but only the last one is supported on my host. Do you know of any other ways? Todd