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

Here's a better idea: post the proof that you can.

Replies are listed 'Best First'.
Re^6: Proper CPAN Installation
by Anonymous Monk on Sep 22, 2015 at 23:17 UTC

    Here's a better idea: post the proof that you can.

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

      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

        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.

        ... 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

      I am sure you are. How's that going?