CGI (Common Gateway Interface) scripting is the most common way for a Web server to interact with users. You can use CGI scripting to increase the sophistication and functionality of your Web pages. For example, CGI scripts are frequently used to
Access information such as server status and time from a Web server and display it on a Web page.
Increment a counter by 1 each time a Web page is accessed.
Process information entered in HTML forms by accessing a database using the Web server and generating a table that contains the query data.
More information about using Perl with CGI scripting is available in Perl Links.