Clear questions and runnable code
get the best and fastest answer
[Solved]Problem with new Perlbrew installationby mascip (Pilgrim)
|on Mar 24, 2013 at 19:41 UTC||Need Help??|
mascip has asked for the
wisdom of the Perl Monks concerning the following question:
EDIT: After 2h of investigations, i realised that i didn't have the latest version of perlbrew (0.60 instead of 0.61), and fixed it by simply doing:
~ ~ ~ ~ ~
Hello, i've installed Perlbrew on a new computer last week and i have a problem: perlbrew list doesn't list the versions of perl that i have installed. On the other hand, perlbrew lib list works and displays: perl-5.16.3@devel Which is what i expect. And $PERLBREW_PERL is correct and equal to "perl-5.16.3";
I also have this error message when /home/user/perl5/perlbrew/etc/bashrc runs: bash: export: `/home/user/.perlbrew/libs/perl-5.16.3@devel";': not a valid identifier which comes up while the __perlbrew_activate subroutine is called.
Question 1: Any idea what is going on?
Question 2: I've tried to add print statements in the ~/perl5/perlbrew/bin/perlbrew executable, unsuccessully: i get strange bugs. Is that because this file is fatpacked, and it's not possible to modify the content of fatpacked files?
* Here is what i did last week to install it all:
I installed perlbrew with one of these two, i don't remember which one: wget --no-check-certificate -O - http://install.perlbrew.pl | bash or maybe curl -kL http://install.perlbrew.pl | bash
And then i did:
And i added the following line in my .bashrc:
I have verified: the /home/user/perl5/perlbrew/etc/bashrc script runs.
Then i did:
And this week i come back with the problem i presented.
Thank you for any help!