The other day, I needed to install some perl modules such as LWP:

imple
I telnetted into my server, blah blah blah, and tried to use
perl -MCPAN -e shell;
to aid me in this.
When I ran that program, I was prompted that there was a newer stable version of Perl available, v5.6.0 an if I would like to install it.
I figured why not, and as the program tried to install it, asking me questions from time to time, I pointed it to install to the usr/local/bin directory (for usr/local/bin/perl)
The installation was not successful (various warnings: will not install without force), and I ran out of time that evening.
Well, last night I went to try and get some modules again, but now nothing wants to work, and I figured out that when I run...
perl -MCPAN -e shell;
.. it is pointing to /usr/local/bin/perl and not usr/bin/perl, where the older working version of perl is. (I figured this out by temporarilily renaming /usr/local/bin/perl to bobperl)
So, here is where I need help....
How do I remove Perl5.6.0? Im content with Perl5.005
How do I get perl -MCPAN -e shell; to run from /usr/bin/perl again instead of the new, notworking location?
- Robert Angle