#!/usr/bin/perl -wT #use strict; use CGI qw(:standard); # important shortcuts use Fcntl qw(:flock); # imports LOCK_EX, LOCK_SH, LOCK_NB my $timestamp = localtime; my $userID = 'No'; my $passwrd; sub bail { my $error = "@_"; print h1("Unexpected Error"), p($error), end_html; } sub runReports { print "Generating Reports\n"; system("./Kreports.plx"); } $TITLE = "Kim's Report Generator"; $LOGFILE = "/usr/tmp/KreportLog"; print header,start_html($TITLE),h1($TITLE); $q = CGI->new(); #my ( $name, $value); print hr, start_form; # hr() emits a horizontal rule: