Items don't show up - error under telnet

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hi folks, I've got a small problem getting S-Mart to run. Having read the readme over and over again, also checking the rights for the files back and forth...the items won't show up. :-(

Under Telnet I entered: perl -w smart.pl

and got this as result: "my" may clash with future reserved word at smart.cgi line 4. syntax error in file smart.cgi at line 4, next 2 tokens "my $version " "my" may clash with future reserved word at smart.cgi line 22. "use" may clash with future reserved word at smart.cgi line 32. syntax error in file smart.cgi at line 32, next 2 tokens "use vars" "my" may clash with future reserved word at smart.cgi line 33. "my" may clash with future reserved word at smart.cgi line 39. syntax error in file smart.cgi at line 39, next 2 tokens "my(" "my" may clash with future reserved word at smart.cgi line 51. syntax error in file smart.cgi at line 51, next 2 tokens "my $path " "my" may clash with future reserved word at smart.cgi line 52. syntax error in file smart.cgi at line 52, next 2 tokens "my $perl " "my" may clash with future reserved word at smart.cgi line 53. syntax error in file smart.cgi at line 53, next 2 tokens "my $sendmail " "my" may clash with future reserved word at smart.cgi line 54. syntax error in file smart.cgi at line 54, next 2 tokens "my $dir " "my" may clash with future reserved word at smart.cgi line 60. syntax error in file smart.cgi at line 60, next 2 tokens "my $command " Execution of smart.cgi aborted due to compilation errors.

Any clues on that?

I'm using S-Mart on Apache with Perl 5.something.

Thanx for any help!

Chris

-- Christian Aselmann (chase@samart.co.th), October 01, 1998


Moderation questions? read the FAQ