Solution does not work

staszeko (2017-03-22 18:52:32)
25 views
0 replies
I removed the entire directory '/root/.cpan', including file 'Config.pm', but the problem still persists. When I try to install a module, like

#cpan -i Log::Log4perl

I get error:
Can't locate object method "data" via package "CPAN::Modulelist" (perhaps you forgot to load "CPAN::Modulelist"?)

Since this thread still comes up as number 1 when googling for this error, I hope somebody will find a solution that will work for all.
comment