in reply to CPAN ask me install a package repeatly
However, if I invoke Perl with /usr/bin/perl$ sudo perl -MCPAN -e shell Password: cpan shell -- CPAN exploration and modules installation (v1.9600) cpan>
I get the CPAN that comes with my system Perl - that's probably what you want so you need to restore your shell config so it uses your system Perl. You could try this (outside the CPAN shell)$ sudo /usr/bin/perl -MCPAN -e shell Password: cpan shell -- CPAN exploration and modules installation (v1.7602) cpan>
BTW I would highly recommend perlbrew for installing non-system Perlsudo /usr/bin/perl -MCPAN -e 'install File::Basename'
|
|---|