diff options
author | Andreas J. Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de> | 2007-03-20 00:35:10 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-19 22:44:18 +0000 |
commit | 696814337d4eac8d0663d5307d6e01964d1b2897 (patch) | |
tree | a9251a440bd458ac07e10fe06643c95f3c97b479 /pod | |
parent | 58a9407439d0a351f8fbc4e66b3f56e5d81df3c0 (diff) | |
download | perl-696814337d4eac8d0663d5307d6e01964d1b2897.tar.gz |
Re: Composing @INC from PERL5LIB
Message-ID: <87ircwkgkh.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@30643
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlrun.pod | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 592a7b91f0..3ffa1004cc 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -1023,10 +1023,16 @@ X<PERL5LIB> A list of directories in which to look for Perl library files before looking in the standard library and the current directory. Any architecture-specific directories under the specified -locations are automatically included if they exist. If PERL5LIB is not -defined, PERLLIB is used. Directories are separated (like in PATH) by -a colon on unixish platforms and by a semicolon on Windows (the proper -path separator being given by the command C<perl -V:path_sep>). +locations are automatically included if they exist. The checking if +the specified directories and their architecture-specific +subdirectories exist is only done once at interpreter startup time and +not repeated later. So PERL5LIB has no effect for directories that are +created at runtime. + +If PERL5LIB is not defined, PERLLIB is used. Directories are separated +(like in PATH) by a colon on unixish platforms and by a semicolon on +Windows (the proper path separator being given by the command C<perl +-V:path_sep>). When running taint checks (either because the program was running setuid or setgid, or the B<-T> switch was used), neither variable is used. |