[perl #34339][PATCH] "perldoc lib" doesn't describe actual behavior
authorRenee Baecker <renee.baecker@smart-websolutions.de>
Wed, 25 Jun 2008 16:40:57 +0000 (18:40 +0200)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 28 Jun 2008 22:25:51 +0000 (22:25 +0000)
Message-ID: <486258F9.4020505@smart-websolutions.de>

p4raw-id: //depot/perl@34093

lib/lib_pm.PL

index 3332df7..36aa915 100644 (file)
@@ -223,11 +223,17 @@ 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 added to @INC in front of $dir.
+lib.pm also checks if directories called $dir/$version and $dir/$version/$archname
+exist and adds these directories to @INC.
 
 The current value of C<$archname> can be found with this command:
 
     perl -V:archname
 
+The corresponding command to get the current value of C<$version> is:
+
+    perl -V:version
+
 To avoid memory leaks, all trailing duplicate entries in @INC are
 removed.