On Jun 7, 2004, at 2:59 AM, Sherm Pendley wrote:
On Jun 7, 2004, at 1:26 AM, Timothy Bailey wrote:
Did Apple put it in the wrong place? (Yes, I'm technically a user installing 1.76, but Apple isn't the purveyor of Perl either. They're sort of a user as well.) I would still need to get the old version out of there, right?
/Library/Perl appears before /System/Library/Perl in @INC, so user-installed modules take precedence over core modules.
Unfortunately that's not true:
% perl -V | grep 'INC\|Library' @INC: /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl
I've wondered for years why 'privlib' comes before 'sitelib' in @INC, and I've raised the issue on p5p, but nothing seems to have changed.
-Ken