[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
[perl #34339][PATCH] "perldoc lib" doesn't describe actual behaviorof "use lib"
Attached is a patch for lib_pm.PL
--
Renée Bäcker
renee.baecker@smart-websolutions.de
XING: http://www.xing.com/profile/Renee_Baecker
Foo-Magazin: http://foo-magazin.de
--- lib_pm.PL.orig 2008-06-25 13:58:11.000000000 +0200
+++ lib_pm.PL 2008-06-25 13:57:11.000000000 +0200
@@ -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.
- Follow-Ups from:
-
"H.Merijn Brand" <h.m.brand@xs4all.nl>
"Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]