Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Need to install Perl Modules -- dont mess with system Perl

by Discipulus (Canon)
on May 18, 2017 at 06:59 UTC ( [id://1190516]=note: print w/replies, xml ) Need Help??


in reply to Need to install Perl Modules

Hi mrmurdock and welcome to the monastery and to the wonderful world of Perl!

I hope, after you got this answered, you remain here to learn some bit more.

As side note to what stevieb already said, I suggest you to NOT use the system Perl you have already installed on the machine.

First the system Perl you have is 5.8.4 ie a grand-grand-mother release of July 2004.

Second, and more important: tomorrow your developper needs Some::Module so you go to install it. It happens that Some::Module has as requisite Another::Module with minimal version x.y but your system has Another::Module version u.v so you upgrade it and it might happens that your system Perl becomes buggy. Not always the story is that bad, but it can happen. So play safe.

It is very easy to have multiple perl installation on the same machine: just install into another directory and dont mess with the PERL5LIB env var. You can do a link to the new perl and tell the dev to use it.

Laziest ones can also use perlbrew to manage several installations of Perl. But in your case is a bit overkilling.

Doing this you can offer a modern Perl release to your dev, currently 5.24 with all modules at the last release.

For your reference take a look to following posts:

  • Multiple instances of Perl
  • Can Multiple perl versions coexist without effecting one another on Solaris?
  • Re: targetting for multiple perl versions (ignore the direct resposnse to the last post i linked, although)

    HTH

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://1190516]
    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-23 21:14 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found