in reply to Re^6: Proper CPAN Installation
in thread Proper CPAN Installation

Its all very documented, but I'm already working on the "proof"

This touches on the very reason that I take no interest in perlbrew.
I avoid it so that I don't have to invest hours trying to work out how to get it to do the things I want it to do.
Given that I can achieve my desired results easily, quickly and simply without resorting to perlbrew, I see no point in learning how to jump through its hoops.

The only thing that's likely to lead me to using perlbrew would be that perl sources are altered in such a way that it becomes difficult for one to build perl *unless* perlbrew is being used.

And I don't discount that possibility. We've already seen how the advent of cpan/cpanm and friends has made it very difficult to install modules the old (manual) way - by enabling authors to create ridiculously long pre-requisite chains for their modules.
For example, take a look at the dependency chains for current Inlne::C and Math::GMP on a fresh install of perl-5.22 - and imagine trying to do all that by hand.
I've actually stopped installing Math::GMP - so appalled am I by having to wait 20 minutes for it to install all of its superfluities.

Anyway ... I digress ... yet again :-)

Cheers,
Rob

Replies are listed 'Best First'.
Re^8: Proper CPAN Installation
by trippledubs (Deacon) on Sep 23, 2015 at 04:24 UTC

    For example, take a look at the dependency chains for current Inlne::C and Math::GMP on a fresh install of perl-5.22 - and imagine trying to do all that by hand.

    Great use case for Perlbrew!!

    # perlbrew switch perl-5.10.1 # rm -rf ~perl5/perlbrew/perls/perl-5.22.0 # perlbrew available # perlbrew --notest install perl-5.22.0
    ...
    # perlbrew switch perl-5.22.0 # perlbrew install-cpanm # cpanm -n Inline::C # sudo apt-get install libgmp-dev # cpanm Math::GMP
    I don't think you are saving yourself any time by not learning to use perlbrew. Well, I guess you are already self imposing a negative consequence of restricting yourself from using Math::GMP.
      Well, I guess you are already self imposing a negative consequence of restricting yourself from using Math::GMP

      No loss - there's an alternative ;-)
      Probably doesn't help much if I want to install a module that requires Math::GMP specifically - but that hasn't happened.

      Actually, I've just checked and the number of pre-requisites for Math-GMP-2.11 is now much reduced (courtesy of changes to TEST_REQUIRES that were made in 2.10), so I'll be able to resume installing it again without having to endure flaming nostrils and steaming ears.

      Cheers,
      Rob

      syphilis: For example, take a look at the dependency chains for current Inlne::C and Math::GMP on a fresh install of perl-5.22 - and imagine trying to do all that by hand.

      trippledubs: Great use case for Perlbrew!!

      No, that is a use case for cpan/cpanm/cpanp, they download/install the massie list of prerequisites

      I don't think you are saving yourself any time by not learning to use perlbrew. Well, I guess you are already self imposing a negative consequence of restricting yourself from using Math::GMP.

      Heheh, kids say the darndest things

        Learn something new you dinosaur
Re^8: Proper CPAN Installation
by Anonymous Monk on Sep 23, 2015 at 00:20 UTC

    ... This touches on the very reason that I take no interest in perlbrew.

    Me neither :) I just didn't express myself completely that cpanp/cpan can/do share sources