Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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?

Slackware

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.
Re^2: Perlbrew issues. Suggest a way out.
by afoken (Parson) on Nov 18, 2012 at 17:02 UTC
    ... is there some preferred flavour of linux that any one of you could suggest?

    Slackware

    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.

    Alexander

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004431]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2014-10-25 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls