On 9/26/06, at 11:56 AM -0400, Sherm Pendley wrote:
> I use 5.8.6. My scripts run fine with it, and why fix what ain't
> broke?

I just installed 5.8.8 in /usr/local. It went very smoothly and Perl 5.8.8 
seems to work fine.

Except that it can't see the packages in /System/Library/Perl/5.8.6 that I use 
all the time. Stuff like
   Date::Format
   Date::Parse
   LWP
   ...

I tried the 5.8.8 script
   #!/usr/local/bin/perl -w
   use strict;
   use lib "/System/Library/Perl/5.8.6";
   for (@INC) {
      print "$_\n";
   }
   #use Date::Format;

It shows @INC as
   /System/Library/Perl/5.8.6
   /Volumes/VTN Docs/ My Perl/Tests
   /usr/local/lib/perl5/5.8.8/darwin-2level
   /usr/local/lib/perl5/5.8.8
   /usr/local/lib/perl5/site_perl/5.8.8/darwin-2level
   /usr/local/lib/perl5/site_perl/5.8.8
   /usr/local/lib/perl5/site_perl
   .
Since Date/Format.pm is in /System/Library/Perl/5.8.6/,
I figured that I could use it by uncommenting the
   #use Date::Format;
line. No way. Perl 5.8.8 still can't use Date::Format:
   Can't locate Date/Format.pm in @INC ...

As you can see not much of a systems person. I haven't any idea how to 
straighten this problem out. I think I'll take Sherm Pendleys's advice and 
stick with 5.8.6.

Regards,

Vic


Reply via email to