Re: Adding to @INC
[email protected] (Vic Norton)
| Newsgroups | perl.macosx |
|---|---|
| Message-ID | <[email protected]> |
That is exactly what has happened, Sherm. Thanks a lot. Prior to my recent installation of Leopard, I had used MacPorts to install Perl5.8.8. So I have 5.8.8 in two places, in /usr/bin and in /opt/ local/bin. And /opt/local/bin comes earlier in my PATH than /usr/bin. I'm going to have to think about this. Thanks for the aside! Another curiosity. I just checked out the Perl5.8.8 files in /usr/bin and /opt/local/bin. The /usr/bin one came with Leopard, which I bought from Apple a week or so ago. It was created on Dec 7, 2007, and it weighs 48 KB. The MacPorts perl was created on Sep 5, 2008, and weighs 1.1 MB. Why, I wonder, should one Perl5.8.8 be 25 times as big as another? Regards, Vic On Jan 7, 2009, at 3:06 PM, Sherm Pendley wrote: > On Jan 7, 2009, at 10:24 AM, Vic Norton wrote: > >> I plan to use CPANPLUS to install new packages and modules. Right >> now it installs them in >> /opt/local/lib/perl5/site_perl/5.8.8 > > As an aside, I think it's kind of odd that /usr/bin/perl would do > that... Are you sure there's not an /opt/local/bin/perl earlier in > your PATH? If you used MacPorts to install a newer Perl, that's > where it would install it. > > sherm-- >