Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
And last but not the least, is there some preferred flavour of linux that any one of you could suggest?


As to your problem of running multiple Perls, all you need to do is install your multiple Perl versions manually, and simply change the symlink /usr/bin/perl to point to whichever version you wish to run, like /usr/bin/perl5.14.1 or /usr/bin/perl5.16.0, etc. You just need to keep track of which Perl version you are running, when you install modules. Thats all Perlbrew essentially does for you.

If you don't have root priviledges, you can use local::lib to install to your home directory. In that case, you can put a symlink in your homedir's ~/bin directory, which will point to your privately installed Perl's, something like /home/myuser/lib/perl5/various_versions/bin/perl .... that filepath is just off the top of my head, :-) but you should be get the idea. Do it manually, instead of relying on perlbrew.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

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

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (6)
    As of 2017-11-24 18:46 GMT
    Find Nodes?
      Voting Booth?
      In order to be able to say "I know Perl", you must have:

      Results (352 votes). Check out past polls.