Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

How do I tell CPAN to use a local lib?

by Cody Fendant (Friar)
on May 26, 2013 at 02:11 UTC ( #1035287=perlquestion: print w/replies, xml ) Need Help??
Cody Fendant has asked for the wisdom of the Perl Monks concerning the following question:

I'm struggling to install code on a server with an old Perl and no root access.

I go to install HTML::Template -- I can't because it requires a newer version of ExtUtils::MakeMaker. So I update ExtUtils::MakeMaker in a local modules folder.

So now I need to run the cpan prompt again and tell it where the never version of MakeMaker is. How do I do that?

Replies are listed 'Best First'.
Re: How do I tell CPAN to use a local lib?
by frozenwithjoy (Priest) on May 26, 2013 at 03:08 UTC
Re: How do I tell CPAN to use a local lib? ()
by Anonymous Monk on May 26, 2013 at 02:43 UTC
      PERL5LIB trumps PERLLIB
      -Idirectory trumps PERL5LIB
      -Mblib trumps PERL5LIB/PERLLIB/-I
      PERL5OPT=-Mlib=shecky trumps -Mblib/PERL5LIB/PERLLIB/-I
      and they all trump sitecustomize.pl (sitecustomize processed before they are)

      PERL5LIB TRUMPS PERLLIB, -I trumps PERL5LIB, -Mblib TRUMPS PERL5LIB/PERLLIB/-I, PERL5OPT=-Mlib=shecky trumps -Mblib/PERL5LIB/PERLLIB/-I and they all trump sitecustomize.pl

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1035287]
Approved by patcat88
help
Chatterbox?
[corenth]: each reference was to a fairly small scaler.
[corenth]: I mean, array of scalers. usually triples.
[Cosmic37]: there is a FANN discussion group but seems to have gone quiet... http://leenissen. dk/fann/forum/ viewforum.php?f=18 &sid=1afc1fb3fa1a3 7f52b03e40d05cdaaa 3
[corenth]: Where are all the FANN fans?
[Cosmic37]: ok it went quiet because it moved - its actually quite active... https://sourceforg e.net/p/fann/ discussion/
[Cosmic37]: Therefore they are on sourceforge

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2018-02-20 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (274 votes). Check out past polls.

    Notices?