If you look to the version nrs in your paths, xubuntu updated from perl 5.14.2 in your former xubuntu 13.10 to the more modern perl 5.16.3 in xubuntu 14.04.

I would bet the your lib directory now also refs to /usr/local/share/perl5.16.3 instead of the former link to /usr/local/share/perl5.14.2.

That's why allthough perlbrew is installed (for perl5.14.2), the newer perl version has the newer link to the new lib directory.

Solutions to bypass it would be to create a symlink to the former path, to add it in -I directive when calling perl, add it to the $LIB (not $PATH variable) in your bashrc or to reinstall perlbrew in new perl environment or w/e I might have forgot now.

Personal, I'd let xubuntu just like it is, so other programs that rely via rpm package management or so do it, but just install locally my preferred perl version(s) and work with them. So you can't broke any 3rd program and still can control your own development/production environment and also work with the most modern Perl if you intend so (5.18 or 5.20).

Greetings,
Janek Schleicher


In reply to Re: perlbrew is broken by bigj
in thread perlbrew is broken by lcarter

Title:
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, details, 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, summary, 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.