GeneQ
GeneQ

Reputation: 7595

Where does CPAN install Perl modules in OS X?

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

Upvotes: 13

Views: 9381

Answers (2)

dolmen
dolmen

Reputation: 8706

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

Upvotes: 3

bigiain
bigiain

Reputation: 809

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)

Upvotes: 23

Related Questions