Re: cleaning up as application ends

2007-05-13 Thread Mumia W.
On 05/13/2007 05:32 PM, Mary Anderson wrote: Mumia, Thanks for the mod_perl tip. That [http://perl.apache.org/docs/1.0/guide/porting.html#END_blocks] seems to say that the code in the END block will be executed when the server stops, not when the session comes to an end. My END blocks

Re: cleaning up as application ends

2007-05-13 Thread Mary Anderson
>Mumia, Thanks for the mod_perl tip. That seems to say that the code in the END block will be executed when the server stops, not when the session comes to an end. My END blocks are executed well before the session comes to an end. If I do something like this: print header; EN

Re: cleaning up as application ends

2007-05-12 Thread Mumia W.
On 05/12/2007 05:37 PM, Mary Anderson wrote: I would like to perform some clean up at various points in my application. Here is one of them. if ($pageName eq 'CSV'){ my $made_and_stuffed = make_and_stuff_query($pageName); if ($made_and_stuffed == 1){ my $pathNa

cleaning up as application ends

2007-05-12 Thread Mary Anderson
I would like to perform some clean up at various points in my application. Here is one of them. if ($pageName eq 'CSV'){ my $made_and_stuffed = make_and_stuff_query($pageName); if ($made_and_stuffed == 1){ my $pathName = execute_CSV_query($pageName);