Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Need help with syntax error in CGI script

by superfrink (Curate)
on Aug 02, 2004 at 01:04 UTC ( #379160=note: print w/replies, xml ) Need Help??


in reply to Need help with syntax error in CGI script

On line 13 try changing "If" to "if".
[frink@truth ~]$perl if(1) { print "yeah\n"; } yeah [frink@truth ~]$perl If(1) { print "no\n"; } syntax error at - line 1, near ") {" Execution of - aborted due to compilation errors.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://379160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2023-09-21 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?