Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Perlbrew issues. Suggest a way out.

by zentara (Archbishop)
on Nov 18, 2012 at 15:59 UTC ( #1004431=note: print w/replies, xml ) Need Help??

in reply to Perlbrew issues. Suggest a way out.

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
  • Comment on Re: Perlbrew issues. Suggest a way out.

Replies are listed 'Best First'.
Re^2: Perlbrew issues. Suggest a way out.
by afoken (Abbot) on Nov 18, 2012 at 17:02 UTC
    ... is there some preferred flavour of linux that any one of you could suggest?


    I second that. Slackware is one of the few Linux distributions that still use the shell (bash or ash) for all scripting. You can completely remove Perl and Slackware will still run (but remember that the Linux 3.x kernel needs perl 5 to compile - duh!), and you can replace the system Perl with any Perl you like.


    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004431]
[Tux]: None work for me. My dead key is AltGr (right Alt)
[Tux]: And I just tested, neither do other Tk apps :) (95% of my Tk Apps is either just monitoring (no input) or input of just numbers). Something to investigate then
[choroba]: Maybe something like this?
[choroba]: I vaguely remember we had problems with dead keys in Tk at $work - 2, but I forgot all the details
[choroba]: but it was worse on MSWin than on Linux
[choroba]: (and OSX didn't exist yet)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-09-25 20:47 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (290 votes). Check out past polls.