On 2/7/07, Stephan Jennewein <[EMAIL PROTECTED]> wrote:
local $SIG{__DIE__} = \&cleanup;

Make that a PerlCleanupHandler.

And if something goes wrong with the upload a $cgi->redirect should send
the user to another page can I use this with mod_perl and the exit()
after the redirect doesn't work.

You were using exit like a return, to avoid running the rest of the
script?  You can use ModPerl::Util::exit (which will log an error), or
return Apache2::Const::OK, or just stop printing.

- Perrin

Reply via email to