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

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

by 1nickt (Canon)
on Apr 10, 2017 at 22:30 UTC ( [id://1187595]=note: print w/replies, xml ) Need Help??


in reply to NOT NEW but confused - set cpan paths from the start

Yes, use Perlbrew!

The way forward always starts with a minimal test.
  • Comment on Re: NOT NEW but confused - set cpan paths from the start

Replies are listed 'Best First'.
Re^2: NOT NEW but confused - set cpan paths from the start
by Anonymous Monk on Apr 10, 2017 at 23:32 UTC

    Why use perlbrew when you can use cpan/cpanm/cpanp directly? esp if the default perlbrew configuration won't work for the OP?

      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". ;-)
        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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found