/usr/share/perl5/CGI/examples
NameSizeModeActions
WORLD_WRITABLE/-0755rm
caution.xbm7410644editdlrm
clickable_image.cgi8080644editdlrm
cookie.cgi22630644editdlrm
crash.cgi1310644editdlrm
customize.cgi24540644editdlrm
diff_upload.cgi15950644editdlrm
file_upload.cgi19980644editdlrm
frameset.cgi20760644editdlrm
index.html34870644editdlrm
internal_links.cgi10190644editdlrm
javascript.cgi30490644editdlrm
make_links.pl1960644editdlrm
monty.cgi20860644editdlrm
multiple_forms.cgi15990644editdlrm
nph-clock.cgi3590644editdlrm
nph-multipart.cgi2630644editdlrm
popup.cgi10240644editdlrm
save_state.cgi23110644editdlrm
tryit.cgi7800644editdlrm
Edit: /usr/share/perl5/CGI/examples/index.html (3487B)
More Examples of Scripts Created with CGI.pm

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