At 7:53 PM -0500 2/19/04, petersm wrote: >Morbus Iff wrote: >> So, in my case, it appears that eval'ing the module in the .cgi script >> is my only solution, based on this bit from the porting guidelines: >> >> When running under mod_perl, once the server is up @INC is frozen >> and cannot be updated. The only opportunity to temporarily modify >> @INC is while the script or the module are loaded and compiled for >> the first time. After that its value is reset to the original one. >> The only way to change @INC permanently is to modify it at startup. >> > > PerlSetEnv PERL5LIB /path/to/my/modules > >That way it get's added to @INC for that location.
Yeah, the porting guide does talk about PerlSetEnv as a solution too. -- Morbus Iff ( i subscribe to the theory of intellectual osmosis ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html