summaryrefslogtreecommitdiff
path: root/lib/lib_pm.PL
diff options
context:
space:
mode:
authorRenee Baecker <renee.baecker@smart-websolutions.de>2008-06-25 18:40:57 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-06-28 22:25:51 +0000
commitb11304a19556c47855448c1edd428f188c030a65 (patch)
tree9936da7dfd375aead58a51417a6beeb1f2b56e68 /lib/lib_pm.PL
parent6e592b3a92f7ee35c9a857bd9a43297ab1693599 (diff)
downloadperl-b11304a19556c47855448c1edd428f188c030a65.tar.gz
[perl #34339][PATCH] "perldoc lib" doesn't describe actual behavior
Message-ID: <486258F9.4020505@smart-websolutions.de> p4raw-id: //depot/perl@34093
Diffstat (limited to 'lib/lib_pm.PL')
-rw-r--r--lib/lib_pm.PL6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lib_pm.PL b/lib/lib_pm.PL
index 3332df7f05..36aa915dd6 100644
--- a/lib/lib_pm.PL
+++ b/lib/lib_pm.PL
@@ -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.