#!/usr/bin/perl # # hello.pl-- standard "hello, world" program to demonstrate basic # CGI programming, and the use of the &getcgivars() routine. # # First, get the CGI variables into a list of strings %cgivars= &getcgivars ; # Print the CGI response header, required for all HTML output # Note the extra \n, to send the blank line print "Content-type: text/html\n\n" ; # Finally, print out the complete HTML response page print < CGI Results

Hello, world.

Your CGI input variables were: