Hint about $dir/$version is checked by lib.pm and deleted from @INC
authorEugen Konkov <kes-kes@yandex.ru>
Tue, 18 Sep 2018 07:19:46 +0000 (10:19 +0300)
committerTony Cook <tony@develop-help.com>
Thu, 3 Jan 2019 03:49:43 +0000 (14:49 +1100)
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

dist/lib/lib_pm.PL

index a4c5cc3..89b0c9f 100644 (file)
@@ -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