On Sep 26, 2006, at 4:38 PM, Vic Norton wrote:
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.
It doesn't need to. It has its own copy of core modules.
Stuff like
Date::Format
Date::Parse
LWP
...
Those aren't core modules. CPAN modules are installed under /Library/
Perl, which is the moral equivalent of the more traditional
"site_perl" directory.
I tried the 5.8.8 script
#!/usr/local/bin/perl -w
use strict;
use lib "/System/Library/Perl/5.8.6";
use lib '/Library/Perl/5.8.6';
sherm--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net