in reply to perlbrew is broken

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

Replies are listed 'Best First'.
Re^2: perlbrew is broken
by Anonymous Monk on Jul 30, 2014 at 07:35 UTC

    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)

    $LIB is not a perl thing or a perlbrew thing

    The simplest solution to not having perlbrew break in the future, is to have one of your perlbrew perls as the first perl in the path, so when you type perl or perlbrew its the one from your home directory that runs, so when you upgrade your OS and your system perl (os perl), your home directory perlbrew installed perl is untouched and works the same

      Thx for your reply.

      The perlbrew libs were the first in my $PATH.

      lc

        The perlbrew libs were the first in my $PATH.

        Ok, then can you explain why it doesn't work? What is your $PATH?

        :)

        Q: Problem?
        A: Push button
        Q: Already did that
        A: Thats your nose