Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: NOT NEW but confused - set cpan paths from the start

by afoken (Canon)
on Apr 11, 2017 at 17:43 UTC ( #1187671=note: print w/replies, xml ) Need Help??


in reply to Re^2: NOT NEW but confused - set cpan paths from the start
in thread NOT NEW but confused - set cpan paths from the start

Why use perlbrew when you can use cpan/cpanm/cpanp directly?

Because the default perl usually comes with the system (at least on Unix systems). And quite often, the system depends on that perl version and configuration. Slackware is a rare exception: It comes with a quite recent perl version, but it does not depend on Perl. For other Linux distributions and other Unix systems, you better use the package manager (rpm, apt, whatever - RTFM) to install perl modules from system packages instead of installing from CPAN. If you want to use the latest versions of some perl module, better install an independent perl, e.g. using perlbrew or by compiling perl manually. This way, modules "too new" for the system won't interfere with the system perl.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^3: NOT NEW but confused - set cpan paths from the start

Replies are listed 'Best First'.
Re^4: NOT NEW but confused - set cpan paths from the start
by Anonymous Monk on Apr 11, 2017 at 20:49 UTC
    I guess thats better than Yes, use Perlbrew! even though it assumes an XY question

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1187671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2020-08-12 09:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (65 votes). Check out past polls.

    Notices?