taj has asked for the wisdom of the Perl Monks concerning the following question:
when I start cpan from my fedora 10 it gives as follows:
#cpan
Undefined subroutine &CPAAN::shell called at /usr/bin/cpan line 198.
Does anybody know the solution to this?
If you really, really are sure that CPAAN::shell is not a typo, go to line 198 of /usr/bin/cpan and change CPAAN to CPAN. You, or somebody else already manually changed things around on this machine. You shouldn't do that with things in /usr/bin. Also consider installing your own Perl, or using the Fedora package manager (rpm?) to install Perl modules into the Fedora system Perl.
It was a typo not in the file .
The file seems to be intact.It is CPAN.
I did not try loading the rpm.
Any help is appreciated.
I manually installed CPAN.still the result is same.
How to uninstall CPAN and start form scratch without loading the entire Fedora 10 ???