LanX has asked for the wisdom of the Perl Monks concerning the following question:
I'm using an Ubuntu VM to test some stuff in different perlversions plus module-versions and already installed perlbrew succesfully.
Unfortunately it seems that I installed and (sudo) used cpanminus before.
which cpanm shows /usr/bin/cpanm and I already renamed and recreated .cpanm because it belonged to root.
Using this instance from cpanm has strange side effects, looks like the old path from the system Perl where hardcoded.
So whats the best way to resolve this?
So what's the canonical way to combine cpanminus with perlbrew?
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
oops ... ((shame-oticon))
Found:
> Also when you read the perlbrew usage documentation, there is a command install-cpanm that installs a standalone executable cpanm to to the same bin directory.
I'll try later, but i think the issue is resolved now ...
works as described! ++
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (solved) combining perlbrew and cpanm
by Anonymous Monk on Sep 18, 2018 at 23:02 UTC | |
by Your Mother (Archbishop) on Sep 18, 2018 at 23:10 UTC | |
by Anonymous Monk on Sep 19, 2018 at 17:38 UTC |