Hi
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?
- apt-get uninstall cpanminus and reinstall it via cpan?
- cpan install cpanm and hope that perlbrew gets the paths right?
Yeah I know, probably I shouldn't use cpanm with System Perl in the future... but ... I didn't expect this VM to be used that long.
So what's the canonical way to combine cpanminus with perlbrew?
update
oops ... ((shame-oticon))
Found:
apparently I'm too colorblind to read
https://perlbrew.pl/Perlbrew-and-Friends.html properly, already the second phrase says:
> 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 ...
update
works as described! ++
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.