END { system('\bin\mv',TEMPFILENAME,FILENAME) }
I'm not sure what type on interruption you are talking about or which ones will run the END block, but it may solve the problem.
In reply to Re: Temporary files and cleaning up after an interruption
by repson
in thread Temporary files and cleaning up after an interruption
by mischief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |