Change 34093 by [EMAIL PROTECTED] on 2008/06/28 22:25:51
Subject: [perl #34339][PATCH] "perldoc lib" doesn't describe actual
behavior
From: =?ISO-8859-1?Q?Ren=E9e_B=E4cker?= <[EMAIL PROTECTED]>
Date: Wed, 25 Jun 2008 16:40:57 +0200
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/lib/lib_pm.PL#17 edit
Differences ...
==== //depot/perl/lib/lib_pm.PL#17 (text) ====
Index: perl/lib/lib_pm.PL
--- perl/lib/lib_pm.PL#16~33980~ 2008-06-01 12:00:08.000000000 -0700
+++ perl/lib/lib_pm.PL 2008-06-28 15:25:51.000000000 -0700
@@ -223,11 +223,17 @@
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.
End of Patch.