This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #22944] PERL5LIB is not colon-separated everywhere
[perl5.git] / pod / perlrun.pod
index 2a57b6c..043ab5d 100644 (file)
@@ -894,11 +894,13 @@ used.
 
 =item PERL5LIB
 
 
 =item PERL5LIB
 
-A colon-separated list of directories in which to look for Perl library
+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
 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.
+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.
 
 When running taint checks (either because the program was running setuid
 or setgid, or the B<-T> switch was used), neither variable is used.
@@ -1062,7 +1064,7 @@ and Win32 approximate equivalent:
 
 =item PERLLIB
 
 
 =item PERLLIB
 
-A colon-separated list of directories in which to look for Perl library
+A list of directories in which to look for Perl library
 files before looking in the standard library and the current directory.
 If PERL5LIB is defined, PERLLIB is not used.
 
 files before looking in the standard library and the current directory.
 If PERL5LIB is defined, PERLLIB is not used.