When a CGI script is called several environment variables are set and you can access these from Perl . You can have a look at the source of this program to see how it accesses the variables. Try opening the following URLs. The first one is the same as we used above. Exercise CGI scripts allow HTML documents to be generated on the fly, and that means generating titles, headings, and anchors on the fly.
Every page is numbered and every page has links to the previous and next pages.