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
From:
H.Merijn Brand
Date:
June 25, 2008 09:51
Subject:
Re: [perl #34339][PATCH] "perldoc lib" doesn't describe actualbehavior of "use lib"
Message ID:
20080625185114.3c7011cb@pc09.procura.nl
On Wed, 25 Jun 2008 16:40:57 +0200, Renée Bäcker
<renee.baecker@smart-websolutions.de> 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.
+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:
+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
 removed.

-- 
H.Merijn Brand          Amsterdam Perl Mongers  http://amsterdam.pm.org/
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.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About