On Mon, Aug 04, 2003 at 04:15:22PM -0400, Steve Grazzini wrote:
> 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.)

Not LIB.  Or, at least, not *just* lib because that only handles part of the
problem.  Consider a module which ships executables, YAML.pm, for example. 

You'd need both LIB and PREFIX to get the effect you want.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
WOOHOO!  I'm going to Disneyland!
        http://www.goats.com/archive/980805.html

Reply via email to