develooper Front page | perl.perl5.porters | Postings from September 2006

PATCH: clarify docs for lib.pm

Thread Next
From:
Mark Stosberg
Date:
September 25, 2006 14:31
Subject:
PATCH: clarify docs for lib.pm
Message ID:
20060925195512.27418.qmail@lists.develooper.com
lib.pm referred to $archname, but didn't define how it was determined.
The following patch provides example code to review the current value of
$archname.

     Mark

--- lib_pm.PL.orig      Mon Sep 25 15:48:11 2006
+++ lib_pm.PL Mon Sep 25 15:51:53 2006
@@ -196,6 +196,10 @@
 If so the $dir/$archname directory is assumed to be a corresponding
 architecture specific directory and is added to @INC in front of $dir.

+The current value of $archname can be found with this command:
+
+  perl -MConfig -e 'print "$Config{archname}\n"'
+
 To avoid memory leaks, all trailing duplicate entries in @INC are
 removed.

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