in reply to Update on setting up a PAUSE testing environment
You didn't ask a question. Are you asking how to use the cpanm installed by /usr/bin/perl? If so,
perlbrew switch /usr/bin/perl hash -r cpanm
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Update on setting up a PAUSE testing environment
by hsmyers (Canon) on May 16, 2011 at 21:25 UTC | |
Update: Clearly I don't understand what you've said. I tried the following: With the results as shown. Maybe I wasn't clear (the not asking questions thing) what I need is a cpanm that works with perlbrew. What I have now is one that only installs in the original environment. As a for instance, the attempt to install Chess::PGN::Moves shows a reference to the one installed under 5.10, not to one installed under 5.8.1. Further, the first line is as you had shown and got the result that you see. If I now do a quick test: This shows that no attempt to use cpanm has yet worked in the 5.8.1 context. Since I have no idea of what any of the commands you showed mean, I have no idea of what might be wrong---clearly something is. Given the lack of any directory off of /usr/ named perlbrew, I wonder about my installation of perlbrew---did I mess it up somehow? The only thing that I have that matches what you've said is that I do have a /usr/bin/perl. Being curious I did: The documentation didn't say what the '*' stands for, but if I do: This might explain why my attempt to perlbrew switch /usr/bin/perl didn't work. The more I look at your first post, the more I'm wondering why I don't have a /usr/perlbrew/ directory. After all if I screwed up cpanm to to point of non-usability, doing the same to perlbrew should be dead bang easy... IMPORTANT Update: Found the problem or at least found something that works (can't speak to its correctness beyond that) Did this:
As per usual, a ton of thanks to all who helped and made offers of help—you and all of the other Monks make this place the incredible resource that it is! --hsm "Never try to teach a pig to sing...it wastes your time and it annoys the pig." | [reply] [d/l] [select] |