CPAN on Snow Leopard

 CPAN, the Comprehensive Perl Archive Network is a free community provided library of Perl programs.

Installing CPAN

Here are instructions for setting up a 64-bit CPAN on Snow Leopard, tested August 2010 with 10.6.4. For the most current version of OS X, see CPAN instructions for Lion (10.7).

These instructions assume you have already disabled .my.cnf and reinstalled MySQL.

(Gotcha:) For some reason, when I tried this in 2010, sudo -H cpan failed. where cpan said it was there. It turned out that something had changed the access on /usr/bin/cpan to 666. I changed it to 755 and all worked.

Home | FAQ © 2010-2012, Tom Van Vleck updated 2012-04-04 19:04