On Sat, Nov 7, 2009 at 6:27 AM, Shawn H Corey <shawnhco...@gmail.com> wrote:
> tom smith wrote: > > On Fri, Nov 6, 2009 at 9:34 AM, Shawn H Corey <shawnhco...@gmail.com > > <mailto:shawnhco...@gmail.com>> wrote: > > I think the OP is talking about the new modules that don't always > play > > nice. To find their locations, use -l on perldoc > > > > perldoc -l CPAN > > perldoc -l Bundle::CPAN > > > > > > No, I'm talking about deleting everything on my computer related to the > > cpan program, i.e. the cpan program that supposedly makes it easy to > > search for and install modules. Currently, I cannot install any modules > > using the cpan program (though I've only tried twice). I've only > > installed one module, LWP::Simple, and I had to install that by hand > > because cpan couldn't get past the 'make test' step. When I installed > > LWP::Simple by hand, I just skipped the "make test" step, which means I > > could have problems in the future. > > > > My thought was that if I could delete the cpan program and reinstall a > > different version, it might work. I just don't know if cpan is > > inextricably intertwined with my new perl 5.10.1 install or not. > > > > Thanks. > > > > The cpan program is little more than a shell for CPAN.pm. When you > first start cpan, it says to install Bundle::CPAN and a newer version of > CPAN.pm. These modules do not play nice. Last time I installed them, I > could get cpan to work at all. So, the question is: did you upgrade > these modules? > > I actually read something that said not to install Bundle::CPAN. Then sometime later I tried to install my first module, and in the fog of trying everything possible to get cpan to install LPW::Simple, I saw that message instructing me to update Bundle::CPAN, and I tried that. But I never had cpan working before that. cpan didn't work before installing Bundle::CPAN and it doesn't work now. That is why I want to wipe every trace of cpan off my computer.