in reply to Basic CGI
All I'd add is be careful when using the here document tags. As Chady showed the here document allows HTML to be written as raw text without having to escape quotes, put in print statements etc. The basic syntax is to have a print << followed by the ending tag. So you end up with something like:
print <<Ending_tag; Ending_tag
For the ending tag to work there are a few *important* rules to remember:
Have fun playing around with it (and Perl as a whole).
|
|---|