simple -- hypermart specific question

hello

I want to tell you this..

The same script runs perfectly in another server...


#!/usr/bin/perl
use CGI;
$q = new CGI;
print $q->header;
print $q->start_html;
print "hello";
print $q->end_html;
exit(0);


I get a curious error ALWAYS


syntax error in file test.pl at line 2, next 2 tokens "use CGI"

Any help


chris
LVL 6
christopher sagayamAsked:
Who is Participating?
 
jhurstConnect With a Mentor Commented:
at hm perl 4 is in /usr/bin - perl 5 in /usr/local/bin
0
 
ozoCommented:
Are you running the obsolete version perl4?
0
 
christopher sagayamAuthor Commented:
If it is obsolete then what is the way around ..

Is hypermart server then a NO GO AREA....

help
0
 
christopher sagayamAuthor Commented:
great !!!
0
All Courses

From novice to tech pro — start learning today.