whats this problem?

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  
Author Message
solid982
-


Joined: 30 Sep 2004
Posts: 6

PostPosted: Thu Sep 30, 2004 5:04 pm    Post subject: whats this problem? Reply with quote

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 View user's profile Send private message
Axis
-


Joined: 29 Sep 2003
Posts: 336

PostPosted: Thu Sep 30, 2004 11:12 pm    Post subject: Reply with quote

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 View user's profile Send private message
goose
-


Joined: 17 Sep 2002
Posts: 608
Location: The Land Of OZ! come here toto!

PostPosted: Fri Oct 01, 2004 11:10 am    Post subject: Reply with quote

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 View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Oct 01, 2004 9:15 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
solid982
-


Joined: 30 Sep 2004
Posts: 6

PostPosted: Fri Oct 01, 2004 11:40 pm    Post subject: Reply with quote

yap your right!!!! i got the script to work now thanks!!
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group