/protein/display.cgi

This script is specialized to display protein collections to the browser. It just needs to know which collection to display.

If the user tries to "Reload" the page, it will display again, without doing any processing. This protects the data from careless users and sloppy programmers.

Code Snippit



#!/usr/local/bin/perl



use strict;

use Config;

use Some_Modules_Here;



    &Flush_Buffers_Quickly ("$ENV{'LOGDIR'}/collector.log");

    print &Beginning ("Display Protein Collection", "collector", "collector");



    &main ($cgi_data{'collection'});



    print &Ending ();