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.
> 

I might be wrong, but couldn't you fix it with this in your httpd.conf file
in a location tag.

<Location ...>
.
.
    PerlSetEnv PERL5LIB /path/to/my/modules
.
.
</Location>

That way it get's added to @INC for that location.

Michael Peters
Venzia


-- 
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

Reply via email to