in reply to How do you install Perl modules on a Mac?

From the Terminal (in /Applications/Utilities):
sudo perl -MCPAN -e shell
enter your password when prompted, then
install some::module
In the CPAN shell, you can search for modules using the command
i Exact::Module::Name
or
i /regex/

You can also install fink and install Perl modules that way, but I personally don't do that, so can't give specific syntax.

Replies are listed 'Best First'.
Re^2: How do you install Perl modules on a Mac?
by Spidy (Chaplain) on Jul 07, 2005 at 22:14 UTC
    I've started calibrating the CPAN thing, but where is my make program?

      You have to install the Developer Tools that came on the CD with OS X (they're downloadable from Apple, too, I think). Then the CPAN config should find it automatically. Otherwise, from your terminal type 'which make' -- if that doesn't work, then make isn't in your path, and you should try 'sudo find / -name "make" -type f' and look through any results.

      Don't put the single quotes around the commands, I put them in only for clarity.

      Larry Wall is Yoda: there is no try{}
      The Code that can be seen is not the true Code
        I've installed the developer tools, but it seems to have saved the fact that I didn't give it a path to my make program. How would I go about changing/recalibrating it so that I could fix that?
      You need to install the X-Code Tools. They should be on your Tiger- or Panther-CD.