staszeko has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem downloading Perl module 'Log::Log4Perl' using CPAN on Linux CentOS.
When I execute command
# cpan -i Perl::Log4Perl
I get error
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?)
I loaded newer indicies using command
cpan> reload index
then loaded CPAN.pm again
cpan> reload cpan
then removed entire directory '.cpan' including file 'Config.pm', but this did not solve the problem.
I would much appreciate any pointers that could lead me to a successful resolution.
cpan script version 1.03
CPAN.pm version 1.7602
Linux 2.6.18-308.13.1.el5PAE #1 SMP Thu Jul 26 06:08:24 EDT 2012 i686 i386 GNU/Linux
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CPAN install module error
by cbeckley (Curate) on Mar 23, 2017 at 03:03 UTC | |
by staszeko (Initiate) on Mar 23, 2017 at 05:26 UTC | |
by Anonymous Monk on Mar 23, 2017 at 06:48 UTC | |
|
Re: CPAN install module error
by hippo (Archbishop) on Mar 23, 2017 at 09:30 UTC | |
by staszeko (Initiate) on Mar 23, 2017 at 21:45 UTC | |
by hippo (Archbishop) on Mar 24, 2017 at 10:09 UTC | |
by Anonymous Monk on Mar 23, 2017 at 21:48 UTC | |
|
Re: CPAN install module error
by Anonymous Monk on Mar 23, 2017 at 01:25 UTC | |
by stevieb (Canon) on Mar 23, 2017 at 01:37 UTC | |
by Anonymous Monk on Mar 23, 2017 at 02:15 UTC |