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 the cgi interpreter END{} had no special meaning and the code inside
> the END block was just executed in turn, instead of at the exit of the
> program. Are there techniques to clean up the environment on leaving the
> application?
Well I just use 'unlink'
Owen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/