Where does CPAN install Perl modules in OS X?

GeneQ picture GeneQ · Aug 19, 2010 · Viewed 8.7k times · Source

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

Answer

bigiain picture bigiain · Aug 19, 2010

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)