develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #34339][PATCH] "perldoc lib" doesn't describe actualbehavior of "use lib"

Thread Previous | Thread Next
H.Merijn Brand
June 25, 2008 09:51
Re: [perl #34339][PATCH] "perldoc lib" doesn't describe actualbehavior of "use lib"
Message ID:
On Wed, 25 Jun 2008 16:40:57 +0200, Renée Bäcker
<> wrote:

Attached is a patch for lib_pm.PL

I would shorten that a bit to

--- 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. 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:
+The current values of C<$version> and C<$archname> can be found with
+this command: 
-    perl -V:archname
+    perl -V:version\|archname
 To avoid memory leaks, all trailing duplicate entries in @INC are

H.Merijn Brand          Amsterdam Perl Mongers
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin. 

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About