Since its a cgi your might want use an error function instead of die
to prevent an internal server error" and def use something other than
die on the unlink, warn would be fine or just use the same error function.
i.e. return the error rather than die with dump to stderr
Just my input, ignorable :)
lindex
/****************************/
jason@gost.net, wh@ckz.org
http://jason.gost.net
/*****************************/