View previous topic :: View next topic |
Author |
Message |
solid982 -
Joined: 30 Sep 2004 Posts: 6
|
Posted: Thu Sep 30, 2004 5:04 pm Post subject: whats this problem? |
|
|
Quote: | String found where operator expected at hello.pl line 3, near "echo "Hello World...""
(Do you need to predeclare echo?)
syntax error at hello.pl line 3, near "echo "Hello World...""
Execution of hello.pl aborted due to compilation errors. |
just testing cgi script but not working.
whats this problem that i found i the log folder??
[/quote] |
|
Back to top |
|
|
Axis -
Joined: 29 Sep 2003 Posts: 336
|
Posted: Thu Sep 30, 2004 11:12 pm Post subject: |
|
|
Hi solid982--
Post your hello.pl here on the forums. The problem is some small syntax in line 3.
It should be easy to fix.
Regards,
Axis |
|
Back to top |
|
|
goose -
Joined: 17 Sep 2002 Posts: 608 Location: The Land Of OZ! come here toto!
|
Posted: Fri Oct 01, 2004 11:10 am Post subject: |
|
|
i think the hello world is dead ....i need a new world to live in ! _________________ living in an armish paradise.....no gates here!
mawuahahaha :) |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Oct 01, 2004 9:15 pm Post subject: |
|
|
Their is no such thing as echo in Perl , only PHP has that function.
Im assuming your code looks kind of like this , correct ?
Code: |
#!perl
print "Content-Type: text/html\n\n";
print "Hello World!";
|
|
|
Back to top |
|
|
solid982 -
Joined: 30 Sep 2004 Posts: 6
|
Posted: Fri Oct 01, 2004 11:40 pm Post subject: |
|
|
yap your right!!!! i got the script to work now thanks!! |
|
Back to top |
|
|
|