I changed the cleanup stuff to a perlcleanup handler, but I want to
check if the temp directory, where the upload should store stuff, does
already exist. and if it's exist quit immediately but since I switched
to modperl it waits until the whole upload has finished before it quit.
Changeing exit()
Hi,
I want to change a cgi script to run with mod_perl, but I have a problem
with the DIE signal I used in an earlier version to clean the directory
if the user presses the stop button during the upload.
local $SIG{__DIE__} = \&cleanup;
But this doesn't work with mod_perl2 and apache2. How can I