stilton has asked for the wisdom of the Perl Monks concerning the following question:

I'm curious why some modules installed using CPAN on MAC OS X are installed into /Library/Perl/5.X.X/ and some are installed into /Library/Perl/5.X.X/darwin-thread-multi-2level/ ? I developed a Perl module using h2xs and the Makefile that was generated for it installs it into /Library/Perl/5.X.X/, which folder is more appropriate ?

Replies are listed 'Best First'.
Re: Perl Module Install Path Under OS X
by 7stud (Deacon) on Feb 23, 2010 at 17:49 UTC

    Something else to consider: I don't touch the system install of Perl(or any other framework). I leave it alone. I have my own perl installed in /usr/local, and all my cpan stuff gets installed into subdirectories of that path. The system uses its perl, and I use my perl. No conflicts.