in reply to unlink problem
foreach $file (@files) { open FILE, $file; . . . close FILE; unlink $file; }
or is it something else? Just out of curiosity, is it always the same file that cannot be deleted or is it the last file that you access? If the latter is the case, I'd look for an algorithm problem. Perhaps you could post your code here( and be sure to use <code> tags around it).
~CS
|
|---|