#!/bin/perl5 #-*-perl-*- # # A generic perl interface to CGI /AdA 940921 ada@umu.se # # options: # all options displayed # # revision: 9 960813 $author = 'Hans.Wallberg@umdac.umu.se'; # these must be set! $wwwtec = 'Ulf.Hultin@umdac.umu.se'; $title = 'Fritextsökning i SUNETTEN'; $authored = '1999-07-23'; $ENV{'PATH'} = ''; $ENV{'IFS'} = ''; umask(027); # security @days=('Sun','Mon','Tue','Wed','Thu','Fri','Sat'); # common names, must be set @months=('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'); $script = $ENV{'SCRIPT_NAME'} || &err('SCRIPT_NAME undefined'); &parse_options; #****************************************************************************** # Begin Handle request (HTML header and footer automatically output) # $script = "" # $expire = to expire script after seconds (else leave it unset) # $method = "POST", "GET", "PUT" or "DELETE" # $option{"