Apple suggested I install something the other day. (Java or something like
that.) I did it. Now I discover that many of my Perl scripts don't work.
The problem is with @INC. It appears to have been upgraded to Perl 5.8.8. For
example, when I try
use Date::Parse qw(str2time);
I get the message
On Feb 22, 2007, at 6:21 PM, Vic Norton wrote:
Apple suggested I install something the other day. (Java or
something like that.) I did it. Now I discover that many of my Perl
scripts don't work.
The problem is with @INC. It appears to have been upgraded to Perl
5.8.8. For example, when I
At 18:21 -0500 2/22/07, Vic Norton wrote:
>So this is my question. How do I add "/Library/Perl/5.8.6" to @INC, without
>having to add
> use lib "/Library/Perl/5.8.6";
>to every script ?
It's likely that there is abetter way, but. . .
If you define the environment variable PERL5LIB in your
$HO
On 2/22/07, at 7:27 PM -0500, Sherm Pendley wrote:
> Possibly, someone replaced all your scripts #!/usr/bin/perl with #!/
> usr/local/bin/perl. Maybe you did that to test them against the newer
> Perl and forgot to change it back, or maybe someone in your house has
> a strange sense of humor.