Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "    <h1>Hello world!</h1>\n";
    print "  </center>\n";
    print "</body>\n";
    
  2. or download this
    # CGI headers (note two newlines, one for a blank line)
    print "Content-type:  text/html\n\n";
    ...
        # And output it
        print $text;
    }