Question
I was using my hosted server script error checker and got this message. Does this mean my Perl Interpreter is in /usr/lib/perl5?
TEST 1: script and permissions
Passed Test 1!
TEST 2: script file format
Passed Test 2!
TEST 3: check perl path
Passed Test 3!
TEST 4: perl syntax
Can't locate CGI.pm in
@INC
(
@INC
contains: /usr/lib/perl5/5.00502/i686-linux /usr/lib/perl5/5.00502 /usr/lib/perl5/site_perl/5.005/i686-linux /usr/lib/perl5/site_perl/5.005 . .) at view line 21.
BEGIN failed--compilation aborted at view line 21.
Your script failed one or more of the tests and could not
be automatically corrected. Please correct the errors
listed above and try again.
.
- TWiki version:
- Web server:
- Server OS:
--
GlennTamura - 08 Apr 2001
Answer
What does
perl -MCGI -e'print "$CGI::VERSION\n"'
If nothing, you need to install CGI.pm. See
http://search.cpan.org/search?dist=CGI.pm
--
NicholasLee - 23 Apr 2001