You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Lukas Zapletal <lz...@bach.cz> on 2001/09/04 11:32:22 UTC
Where to modify @INC
Hello embperl,
I need to find place for configuring perl includes.
I use httpd.conf:
SetEnv PERLLIB 'D:/Inetpub/libperl'
but PERLLIB is comma-separated and I do not know how to set 'D:/'.
Is there any other place where to set it?
Regards
Lukas Zapletal [lzap@bach.cz]
web programmer
Bach systems Ltd., Czech Republic
----------- PGP FINGERPRINT ------------
4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
--------------- COOKIE -----------------
Linux; a re-Gnu-able resource.
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Where to modify @INC
Posted by Gerald Richter <ri...@ecos.de>.
>
> I need to find place for configuring perl includes.
>
> I use httpd.conf:
>
> SetEnv PERLLIB 'D:/Inetpub/libperl'
>
> but PERLLIB is comma-separated and I do not know how to set 'D:/'.
>
> Is there any other place where to set it?
>
I usualy set it in a startup.pl:
In httpd.conf
PerlRequire /path/to/startup.pl
in startup.pl
use lib qw{d:\inetpub\libperl} ;
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org