On Fri, 25 Jan 2002 00:33:24 +0000, Becka Louden wrote:
>Maybe someone will have a quick answer for me- after a fresh install of Perl
>5.6.1 on NT 4.0, I go to a dos prompt, type "ppm", and get:
>Can't locate PPM.pm in @INC (@INC contains: D:/Perl/5.6.1/lib .) at ppm line
>8.
>BEGIN failed--compilation aborted at ppm line 8.
That's not right. There should be a "site/lib" there, too, like
D:/Perl/5.6.1/site/lib
PPM.pm is under that directory.
You must find out why that directory is not in the list....
I just downloaded and installed the latest ActivePerl (I normlly use
IndigoPerl). Default location: "c:\Perl". I moved the directory tree to
another disk: "D:\programs\activeperl\Perl".
I try this at the DOS prompt:
perl -le "print for @INC"
and get:
D:/programs/activeperl/Perl/lib
D:/programs/activeperl/Perl/site/lib
.
So the "site/lib" is in there. As it should be.
I rename the "site" directory to "site+". I run that script again:
D:/programs/activeperl/Perl/lib
.
There you have it. Your "site" directory isn't there (under the correct
name), or you don't have the proper access rights.
--
Bart.