G'day mje,
I'm using perlbrew and bash. I'm on a different OS (Mac OS X) and using Perl 5.14.2. Here's some thoughts on the problem you describe.
I get much the same results as you up to and including echo $PERLBREW_ROOT.
With find . ..., the relative paths are what I'd expect (and what I get) because the search starts at the relative directory . (dot - current directory). I don't have a Linux box to test on: find may be implemented differently; although, I suspect the command find / ... may have been used - searching from the absolute direcrtory / (slash - root directory).
How did you source ~/perl5/perlbrew/etc/bashrc? At the end of my ~/.bash_profile, I have
. ~/.bashrc
My ~/.bashrc only contains:
. ~/perl5/perlbrew/etc/bashrc
Did you type which perl and perl -MCPAN -le 'print' in the same window (login session)? It's possible that bashrc was sourced in one but not the other.
Does perl -V show the same @INC as you got from the perl -MCPAN ... command?
I suspect it's unlikely but you could also check for aliases (i.e. alias perl=...) which you may have picked up by sourcing the systemwide bashrc (possibly called /etc/bashrc).
-- Ken
In reply to Re: Trouble getting perlbrew working on Solaris machine
by kcott
in thread Trouble getting perlbrew working on Solaris machine
by mje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |