Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Moose for CentOS 6 (system perl)

by Tanktalus (Canon)
on Mar 09, 2016 at 23:47 UTC ( [id://1157234]=note: print w/replies, xml ) Need Help??


in reply to Moose for CentOS 6

Generally speaking, I recommend not touching the system perl. Instead, I grab the source and set it up to install to /opt/myperl/$version (I have 21 versions right now, but I think some of them are odd numbers, I could get rid of any of those). I even set /opt/myperl to be owned by my user so I can do all this without root privileges (obviously I used root privileges to create /opt/myperl and assign it to my regular user). And then I can install all the modules I want via cpan/cpanm at will. I don't have to worry about versions available in any distribution repository, and can get exactly the levels I want (usually "latest"). It also allows me to move from computer to computer usually by tarring up the appropriate /opt/myperl/version and copying it to my next computer.

And, most importantly, it allows me to not screw up the system perl :)

Replies are listed 'Best First'.
Re^2: Moose for CentOS 6 (system perl)
by dasgar (Priest) on Mar 10, 2016 at 07:15 UTC

    And for those like me who are not quite up to building Perl from the source code, you can check out perllbrew.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 05:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found