Check if after installing 5.8 you have the following directories
/usr/local/lib/perl/5.8.0
/usr/local/share/perl/5.8.
/usr/lib/perl/5.8.0
/usr/share/perl/5.8.0
If they are present then you can have two options:
[1] Change the @INC at compile time using 'lib' module
BEGIN { unshift(@INC, list of new directories to be added) }
[2] Change the variable "PERL5LIB" to point to the path for 5.8 in your profile file.
Main Topics
Browse All Topics





by: tomcleggPosted on 2003-02-27 at 21:21:05ID: 8039536
Shot in the dark here. Try this (as NON-root user):
1 \ 386-linux \
shell$ for d in /usr/local/lib/perl/5.6.1 \
/usr/local/share/perl/5.6.
/usr/lib/perl5 \
/usr/share/perl5 \
/usr/lib/perl/5.6.1 \
/usr/share/perl/5.6.1 \
/usr/local/lib/site_perl/i
/usr/local/lib/site_perl \
; do ls -ld $d >/dev/null && [ -e $d/strict.pm ] && ls -l $d/strict.pm; done
See if you get any "permission denied" errors. It's conceivable that strict.pm is only readable by root. I can't think why this would happen, but at least it's a nice easy thing to check. :)