I would not delete the old file but rename it (or move it somewhere else) so that you can fall back on it.
You can rename or more a file with the move-function from File::Copy.
In reply to Re: Correct code for deleting old file?
by morgon
in thread Correct code for deleting old file?
by markuswinter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |