#! /usr/local/bin/perl
#################################
# #
# WeddingPlanner CGI #
# #
# Written by Zach Whalen -- #
# (zwhalen@english.ufl.edu)#
#
# Please contact me if you use this
# program or if you have any questions.
# #
# Copyleft Zach Whalen 2003 #
# You can use this program if #
# you want to. Just don't try to#
# Copyright it yourself, please.#
# #
#################################
### SUMMARY ###
#
# This is part of a script which helps you
# keep up with addresses and other related
# information when you're planning a wedding
# (or conference).
#
alarm(30);
use strict;
require '/web/nwe/share/nwe.pm';
print "Content-type: text/html \n\n";
my %data = &Parse_web_data();
my $file = $data{file};
my @datfiles = glob "*.dat";
my $match;
foreach (@datfiles){
my %hash = &make_hash($_);
if ($_ == $file) {
$match = 1;
last;
}
}
my %hash = &make_hash($_);
if ($match){
print <Are you sure you want to delete this file?
Just kidding, take me back to the cabinet.
|