Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Could you look over my completed (but not working) short .cgi script?

by NetWallah (Canon)
on May 31, 2014 at 06:50 UTC ( [id://1088116]=note: print w/replies, xml ) Need Help??


in reply to Could you look over my completed (but not working) short .cgi script?

These are common typo's, and the documentation on "heredoc" is terse for a beginner, and there is nothing but syntax here - so I'll help out.

For c11case2a.cgi, change the Print statement to lower case, and quote the "heredoc" :

print << "addressForm";
For the c11case2b - it appears you have used a word processor to edit the script - and that has placed non-standard double quotes instead of plain ones.

Using a simple text editor and fixing the quotes should get you started.

        What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
              -Larry Wall, 1992

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found