in reply to Re^2: CPAN ask me install a package repeatly
in thread CPAN ask me install a package repeatly

Have you tried running the command w/ sudo?
sudo perl -MCPAN -e 'install File::Basename'

Replies are listed 'Best First'.
Re^4: CPAN ask me install a package repeatly
by plantae (Initiate) on Feb 22, 2012 at 20:18 UTC
    I install modules in my local directory, without any problem .
    This problem only occurs after I try to install perl-5.15.4.
    sudo only applies if I have root access.

      I'm fairly ignorant as to what's really happening when I install a module via MCPAN, but in my experience it seems that some modules require root to install properly...but let me know if this is a misconception on my part!