Where does CPAN install Perl modules in OS X?

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

Answers


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)


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

Need Your Help

Ruby on Rails 3 - Reload lib directory for each request

ruby-on-rails reload rails-engines ruby-on-rails-3

I'm creating a new engine for a rails 3 application. As you can guess, this engine is in the lib directory of my application.

SQL Server 2008 GEOGRAPHY STDistance() value

sql sql-server-2008 geography

I am using geography.STDistance() to return the distance between two single point locations. I'm curious as to which measurement is used for the return value? Is it in KM's, miles or perhaps some o...