You should not run different versions of perl. You (everyone) should keep your software updated and current.

Having two versions installed is not so uncommon, actually, e.g. the Perl that came with the system, plus another up-to-date one for your own use. In fact, I'd think leaving the system Perl alone is a much better idea than forcing some newer, but slightly incompatible version upon all the system tools that use Perl — just to always have nothing but the newest and shiniest... (In particular, on Solaris boxen, where the system Perl is often rather ancient, I'd rather not mess with it.)

Just keep the different versions under different installation paths, and with a bit of care and awareness of the situation, everything should be fine.  I usually have two to four perls installed on one system (e.g. 5.8.8 (system perl), 5.10.0 (to stay up-to-date), and one or two other versions (including an old 5.6.1) for compatibility testing etc.). Never really had much problems with it, except when unconditionally setting PERL5LIB.


In reply to Re^2: Multiple instances of Perl by almut
in thread Multiple instances of Perl by jabberwocky

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.