Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I just started to use perlbrew on an Ubuntu Precise installation and I guess I'm doing something wrong but can't figure it out.

I want to install my perls into a nfs mounted directory /software/lib/perl5/perlbrew
I set PERLBREW_ROOT to that directory and the two perl versions I installed so far have both correctly been installed there.
I also added export PERLBREW_ROOT=/software/lib/perl5/perlbrew to my .bashrc and I can confirm in a terminal that this is indeed set correctly.
In addition, perlbrew info also confirms that PERLBREW_ROOT is set to the above directory.

However, when I install a module like this

perlbrew exec --with 5.14.2 cpanm Module::Build
It is successfully installed in my home directory under ${HOME}/lib/perl5 and I can't figure out why. Any clues what I might be doing wrong?
I can also confirm that the cpanm that is used appears to be the one installed with perlbrew (it's in the perlbrew path given above) Thanks for your help!

Turns out (thanks Corion) that it was an old .modulebuildrc file that had set the install_base to my home dir, so all modules based on Module::Build ended up there.

In reply to perlbrew seems to ignore PERLBREW_ROOT by tospo

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (6)
    As of 2018-05-23 05:34 GMT
    Find Nodes?
      Voting Booth?