Re: END ing in a cgi script

2007-02-17 Thread Mumia W.
On 02/16/2007 10:27 PM, Mary Anderson wrote: Hi all, My perl-cgi application creates some temporary files and a temporary table which I would like to clean up as I exit the program. I tried writing a perl END block, but found that did not work. It appeared that to the cgi interpreter

Re: END ing in a cgi script

2007-02-17 Thread Mumia W.
On 02/17/2007 06:46 PM, Mary Anderson wrote: The documentation wasn't very clear. Under mod_perl, the above will work only for Apache::Registry scripts. Otherwise execution of the END block will be postponed until the process terminates. If you write a handler in the Perl API use the

END ing in a cgi script

2007-02-16 Thread Mary Anderson
Hi all, My perl-cgi application creates some temporary files and a temporary table which I would like to clean up as I exit the program. I tried writing a perl END block, but found that did not work. It appeared that to the cgi interpreter END{} had no special meaning and the code inside

Re: END ing in a cgi script

2007-02-16 Thread Owen Cook
On Fri, Feb 16, 2007 at 08:27:38PM -0800, Mary Anderson wrote: Hi all, My perl-cgi application creates some temporary files and a temporary table which I would like to clean up as I exit the program. I tried writing a perl END block, but found that did not work. It appeared that to