[ Reported by Alan J. Flavell on clp.modules ]

The answer for "How do I keep my own module/library directory?"
seems to be out-of-date:

    When you build modules, use the PREFIX option when generating
    Makefiles:

        perl Makefile.PL PREFIX=/u/mydir/perl

    then either set the PERL5LIB environment variable before you
    run scripts that use the modules/libraries (see perlrun) or say

        use lib '/u/mydir/perl';

This puts my .pm files in

    /u/mydir/perl/lib/perl5/site_perl/$VERSION

So I've changed the answer to suggest "LIB=" instead.

(Better suggestions welcome.)

-- 
Steve

--- perlfaq8.pod~       2003-02-01 16:17:49.000000000 -0500
+++ perlfaq8.pod        2003-08-04 00:39:29.000000000 -0400
@@ -1138,10 +1138,10 @@
 
 =head2 How do I keep my own module/library directory?
 
-When you build modules, use the PREFIX option when generating
+When you build modules, use the LIB option when generating
 Makefiles:
 
-    perl Makefile.PL PREFIX=/u/mydir/perl
+    perl Makefile.PL LIB=/u/mydir/perl
 
 then either set the PERL5LIB environment variable before you run
 scripts that use the modules/libraries (see L<perlrun>) or say

Reply via email to