Config.pm

This module collects the form data, the cookie, opens the link to the database and provides the following function.
Code Snippit



sub Flush_Buffers_Quickly

{

    my ($file) = @_;



    if ($file) {

        close (STDERR);

        open  (STDERR, ">$file") or &Log_File_Error ($file);

    }

    select (STDERR); $| = 1;

    select (STDOUT); $| = 1;



} #Flush_Buffers_Quickly



Note that by default this log file will be overwritten each time, but if the filename begins with a ">" then you can append to the file.