perl

Daniel J. Luke dluke at geeklair.net
Thu Feb 28 08:11:20 PST 2013


On Feb 28, 2013, at 10:53 AM, Brandon Allbery <allbery.b at gmail.com> wrote:
> 
> On Thu, Feb 28, 2013 at 10:26 AM, Daniel J. Luke <dluke at geeklair.net> wrote:
> > You can use CPAN just fine and combine them with MacPorts Perl ports.
> > Usually you should try to stick with one method or the other, but it
> > really should make no difference.
> 
> If you want to use CPAN (and you want to keep things somewhat simple for yourself) - you should install your CPAN libs into some other directory (something like ~/perl5 works).
> 
> I thought MacPorts CPAN was modified to install in a separate module hierarchy that would not cause path conflicts with MacPorts-installed modules? If not, it should be.

MacPorts perl is modified so that CPAN by default installs into the site_perl directory (which is correct).

However - it ends up being kind of messy (especially with upgrades) and/or can be confusing since it's part of the 'default' perl module search path.
--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-users mailing list