Bukowski has asked for the wisdom of the Perl Monks concerning the following question:
BEGIN failed--compilation aborted at /usr/apache/htdocs/mrbs/badpw.pl line 8. Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5 +/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/apache/htdocs/mrbs/badpw.pl +line 8.
obviously @INC seems not to include the path to strict.pm from this error message but :
# perl -e 'use strict; print map {"$_ => $INC{$_}\n"} keys %INC' stric +t.pm => /usr/local/lib/perl5/5.6.1/strict.pm
and :
# perl -e 'print join "\n", @INC' | grep 5.6.1 /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1
I'm just terribly confused - I've searched all over and not found a satisfactory answer, so I submit it to your wisdom.
Thanks in advance..
dan
Edit by tye to replace <pre> with <code> due to long lines
|
|---|