Don't Skip This Section

You're almost ready to write a CGI program. Almost. You need to check a few things first; otherwise, your first experience writing CGI programs will not be a happy one. It's much easier to find this information first rather than while you're debugging.

To use CGI, you need a Web server. A common problem that new CGI programmers have is that they try writing CGI programs without having a Web server properly installed. For obtaining a Web server, you have a couple options: You can rent space on a commercial Web server, or you can run your own. The decision is up to you, based on what you would like to pay, your bandwidth requirements, and how technically adept you are.

To obtain a commercial Web server, surf the Web and ...

Get Sams Teach Yourself Perl in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.