[Za-pm] paths in @INC global special array
Anne Wainwright
anotheranne at fables.co.za
Thu Oct 23 13:19:54 PDT 2008
Hello, Tielman,
see below
On Thu, 23 Oct 2008 20:31:43 +0100
Tielman wrote:
|> 2008/10/23 Anne Wainwright <anotheranne at fables.co.za>:
|>
|> > I upgraded my entire system (a Debian upgrade) for various reasons and now my perl is broken. Specifically the path
|> >
|> > /usr/lib/perl/5.8.4
|> >
|> > is not in the perl @INC array
|> >
|> > so things like Dynaloader.pm , POSIX.pm , Config.pm, and other stuff do not get found when needed.
|>
|> What does "which perl" say, ie, where does your default perl binary
|> live? Also please post the output of "perl -V" without $PERL5LIB being
|> set.
# which perl --> /usr/bin/perl
anotheranne at Pandora:~$ PERL5LIB="" # I just unset it so
anotheranne at Pandora:~$ echo $PERL5LIB
# blank output so unset
anotheranne at Pandora:~$ perl -V
Can't locate Config.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .).
BEGIN failed--compilation aborted.
anotheranne at Pandora:~$
obviously if I have $PERL5LIB set, then the output is much greater with all sorts of stuff re perl, with it unset all you get is what is shown above.
bestest
Anne
|>
|> --tielman
|> _______________________________________________
|> Za-pm mailing list
|> Za-pm at pm.org
|> http://mail.pm.org/mailman/listinfo/za-pm
--
so much to do, so little time :(
More information about the Za-pm
mailing list