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

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.

Replies are listed 'Best First'.
Re^9: Proper CPAN Installation
by syphilis (Archbishop) on Sep 23, 2015 at 08:13 UTC
    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
Re^9: Proper CPAN Installation
by Anonymous Monk on Sep 23, 2015 at 06:52 UTC

    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

        trippledubs: Learn something new you dinosaur

        so through ignorance of perlbrew I know when it doesn't fit? hehe :)