OSX – Perl CPAN Initialization

In order to install perl modules via CPAN, CPAN needs to be configured on OS X via the following command:

% sudo CPAN

within the cpan shell:

cpan> o conf prerequisites_policy follow
cpan> o conf make /usr/bin/make
cpan> o conf commit

> sudo port selfupdate
> sudo CPAN
cpan> upgrade CPAN
cpan> install Bundle::CPAN
cpan> upgrade
cpan> install YAML
cpan> install Text::xSV

http://beerpla.net/2007/10/12/cpan-the-perl-module-manager/

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.