cvs commit: perlfaq perlfaq2.pod perlfaq8.pod
[email protected] (Robert Spier) 20 Sep 2003 06:36:23 -0000
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
cvsuser 03/09/19 23:36:23 Modified: . perlfaq2.pod perlfaq8.pod Log: From: Iain Truskett <[email protected]> To: [email protected] Subject: [PATCH perlfaq2,8] @INC notes Date: Sun, 14 Sep 2003 00:58:49 +1000 [1 <text/plain; us-ascii (7bit)>] Heyo, (a) Change the code example in perlfaq2 to list @INC to a shorter and less noisy variant (if it's easier for people to type, it's better in my book). (b) Add '@INC' to the title of perlfaq8 / "How do I add a directory to my include path at runtime?" so that 'perldoc -q @INC' will find it. Revision Changes Path 1.24 +2 -2 perlfaq/perlfaq2.pod Index: perlfaq2.pod =================================================================== RCS file: /cvs/public/perlfaq/perlfaq2.pod,v retrieving revision 1.23 retrieving revision 1.24 diff -u -w -r1.23 -r1.24 --- perlfaq2.pod 8 Aug 2003 00:12:29 -0000 1.23 +++ perlfaq2.pod 20 Sep 2003 06:36:22 -0000 1.24 @@ -1,6 +1,6 @@ =head1 NAME -perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.23 $, $Date: 2003/08/08 00:12:29 $) +perlfaq2 - Obtaining and Learning about Perl ($Revision: 1.24 $, $Date: 2003/09/20 06:36:22 $) =head1 DESCRIPTION @@ -69,7 +69,7 @@ One simple way to check that things are in the right place is to print out the hard-coded @INC that perl looks through for libraries: - % perl -e 'print join("\n",@INC)' + % perl -le 'print for @INC' If this command lists any paths that don't exist on your system, then you may need to move the appropriate libraries to these locations, or create 1.19 +2 -2 perlfaq/perlfaq8.pod Index: perlfaq8.pod =================================================================== RCS file: /cvs/public/perlfaq/perlfaq8.pod,v retrieving revision 1.18 retrieving revision 1.19 diff -u -w -r1.18 -r1.19 --- perlfaq8.pod 12 Aug 2003 02:45:33 -0000 1.18 +++ perlfaq8.pod 20 Sep 2003 06:36:22 -0000 1.19 @@ -1,6 +1,6 @@ =head1 NAME -perlfaq8 - System Interaction ($Revision: 1.18 $, $Date: 2003/08/12 02:45:33 $) +perlfaq8 - System Interaction ($Revision: 1.19 $, $Date: 2003/09/20 06:36:22 $) =head1 DESCRIPTION @@ -1163,7 +1163,7 @@ use lib "$FindBin::Bin"; use your_own_modules; -=head2 How do I add a directory to my include path at runtime? +=head2 How do I add a directory to my include path (@INC) at runtime? Here are the suggested ways of modifying your include path: