Hi 

Am Dienstag, 8. März 2005 03.01 schrieb James W. Thompson, II:

> > If you use your own directory, you must put a line like the following in
> > your scripts to enable perl to find your modules:
> >
> >             use lib 'path_to_your_module_dir_tree';
> >
>
> Is there any method to more permanently modify the include path? I
> didn't notice any environment variables, is it stored in the registry
> or does ActiveState's Perl distro pull in anysort of configuration
> file?

I only know ways under mod_perl:

a) in httpd.conf, with the line

 PerlSetEnv PERL5LIB /path1:/another/path

b) In the startup.pl file (which muste be include with  
PerlRequire /path/to/startup.pl) , with the line

 use lib qw(/path1 /another/path);


Apart from that, I have the impression that the @INC is determined at compile 
time of perl itself.

Maybe somebody else knows the answer?


> [...]

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to