Sounds like you need to install a signal handler which would either prevent the process from being interrupted or cleans up the files when it is interrupted.
Look for docs on the %SIG hash.
--
"Perl makes the fun jobs fun
and the boring jobs bearable" - me
In reply to Re: Temporary files and cleaning up after an interruption
by davorg
in thread Temporary files and cleaning up after an interruption
by mischief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |