Removing Perl Modules from CPAN on Mac

As far as I know, running CPAN with sudo on a Mac requires

sudo perl -MCPAN -e shell 

to install new modules. Theoretically, a module can be removed by deleting it from Perl folders.

My question is: where are the Perl modules installed when installing from CPAN with 'sudo' and without 'sudo'? I installed BioPerl in both directions and it seemed to work. Did I ruin everything by installing it with sudo and without?

Thanks for the little help in the perplexed Perl world.

0
source share
1 answer

You can see where the module is installed with perldoc -l <module> . This location is entirely up to your specific Perl installation, but you can see where the "standard" locations are by @INC at the @INC lines in perl -V output.

+2
source

All Articles