Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does CPAN install Perl modules in OS X?

Tags:

macos

perl

cpan

Just curious where CPAN installs all the Perl modules by default in OS X.

like image 269
GeneQ Avatar asked Aug 19 '10 06:08

GeneQ


2 Answers

Besides system defaults, you may have configured your CPAN client to install the modules somewhere else. So have a look to your config:

$ cpan
cpan> o conf makepl_arg
cpan> o conf make_arg
cpan> o conf make_install_arg
cpan> o conf mbuildpl_arg
cpan> o conf mbuild_arg
cpan> o conf mbuild_install_arg
cpan> exit
like image 126
dolmen Avatar answered Sep 21 '22 13:09

dolmen


Ask it!

iains-imac:~ bigiain$ perl -e 'print join("\n",@INC)'
/Library/Perl/Updates/5.10.0/darwin-thread-multi-2level
/Library/Perl/Updates/5.10.0
/System/Library/Perl/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/5.10.0
/Library/Perl/5.10.0/darwin-thread-multi-2level
/Library/Perl/5.10.0
/Network/Library/Perl/5.10.0/darwin-thread-multi-2level
/Network/Library/Perl/5.10.0
/Network/Library/Perl
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.10.

(That's a bog-stock 10.6.3 installation)

like image 21
bigiain Avatar answered Sep 21 '22 13:09

bigiain