summaryrefslogtreecommitdiff
path: root/dist/lib
diff options
context:
space:
mode:
authorEugen Konkov <kes-kes@yandex.ru>2018-09-18 10:19:46 +0300
committerTony Cook <tony@develop-help.com>2019-01-03 14:49:43 +1100
commitb6cdd53afc273106db6653d194f0a96f4ed2c3ac (patch)
tree0b97f01a7be44cf40fa5e55d40c915654bc13f52 /dist/lib
parent429944caafb989b69c83cdd0b478d8516a5d7a80 (diff)
downloadperl-b6cdd53afc273106db6653d194f0a96f4ed2c3ac.tar.gz
Hint about $dir/$version is checked by lib.pm and deleted from @INC
FIXES RT#133522 There is not clear from documentation that $dir/$version and $dir/$version/$archname are checked and deleted from @INC when 'no lib $dir' is used
Diffstat (limited to 'dist/lib')
-rw-r--r--dist/lib/lib_pm.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/dist/lib/lib_pm.PL b/dist/lib/lib_pm.PL
index a4c5cc38a7..89b0c9ff83 100644
--- a/dist/lib/lib_pm.PL
+++ b/dist/lib/lib_pm.PL
@@ -220,7 +220,9 @@ from @INC.
For each directory in LIST (called $dir here) the lib module also
checks to see if a directory called $dir/$archname/auto exists.
If so the $dir/$archname directory is assumed to be a corresponding
-architecture specific directory and is also deleted from @INC.
+architecture specific directory and is also deleted from @INC. lib.pm also
+checks if directories called $dir/$version and $dir/$version/$archname
+exist and deletes these directories from @INC.
=head2 Restoring original @INC