On Tuesday, February 25, 2003, at 08:57 PM, Sherm Pendley wrote:
There's nothing to fix - what you're describing is precisely how things should be. CPAN is supposed to install stuff in /Library/Perl, and the core modules shipped with Perl are in /System/Library/Perl
Ah.
Here's the rub - /System/Library/Perl appears before /Library/Perl in Perl's module search path. So, if different versions of the same module appear in both places, the copy in /System/Library/Perl will always "trump" the other.
The answer, as with the answer to finding where CPAN puts things, is to pay attention to what CPAN is telling you. When you install a CPAN module that's an upgrade to a core module, it warns you about this issue, and explains how to avoid the problem you're having - use the "UNINST=1" option when you run Makefile.PL. This will delete the old version in /System/Library/Perl, as well as installing the new one in /Library/Perl.
You rock!
Thanks...
-- Lorin Rivers Marketing Professional <mailto:[EMAIL PROTECTED]> <http://homepage.mac.com/lrivers> 512.478.8114