perl514,

It is very easy to install multiple copies of Perl on *nix boxes. I usually have 3 to 5 versions depending on how old the computer is. Download from CPAN the version you want. I do the following system commands after verifying the checksum:

gzip -d perl-5.14.2.tar.gz tar -xf perl-5.14.2.tar # This creates a new directory + perl-5.14.2 cd perl-5.14.2 ./Configure -des -Dprefix=/usr/opt/perl_5_14_2 # directory should b +e unique and already exist make make test make install # This will install to /usr/op +t/perl_5_14_2 ln -s /usr/opt/perl_5_14_2/bin/perl /usr/local/bin/myperl

This should generate a new and totally different Perl from the system Perl. To test that everything works, just type

myperl -V # you can call it anything, but I recommend having perl + in the name

Some things to keep in mind.

You'll never again be limited by the Perl that ships with the *nix!

I did this from memory, so if you find something that works differently, I'll check it, and update the documentation or at least mark it as system dependent.

Good Luck!

"Well done is better than well said." - Benjamin Franklin


In reply to Re: Perlbrew issues. Suggest a way out. by flexvault
in thread Perlbrew issues. Suggest a way out. by perl514

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.