More Examples of Scripts Created with CGI.pm

Basic Non Sequitur Questionnaire

Advanced Non Sequitur Questionnaire

Save and restore the state of a form to a file

Server Push

Read the coordinates from a clickable image map

Multiple independent forms on the same page

How to maintain state on a page with internal links

Echo fatal script errors to the browser

This script deliberately generates a compile-time error. The Following Scripts Work with Netscape Navigator 2.0 and higher, or Internet Explorer 3.0 and higher

Prompt for a file to upload and process it

A Continuously-Updated Page using Server Push

Compute the "diff" between two uploaded files

Maintain state over a long period with a cookie

Permanently customize the appearance of a page with a cookie

Popup the response in a new window

Side-by-side form and response using frames

Verify the Contents of a fill-out form with JavaScript


  • CGI.pm documentation
  • Download the CGI.pm distribution

  • Lincoln D. Stein, lstein@genome.wi.mit.edu
    Whitehead Institute/MIT Center for Genome Research
    Last modified: Wed Jun 23 15:31:47 EDT 1999