That's strange, I just copied and pasted the code and I don't get that error message at all!
However, there is another mistake in the code, in the block that starts with:
if ( -e $save ).the line that says:
last if $out eq 'Y' or $out eq 'N';should of course read:
last if $overwrite eq 'Y' or $overwrite eq 'N';Once that is corrected, the code works perfectly on my WinXP machine.
In reply to Re^5: returning to a loop later on
by Not_a_Number
in thread returning to a loop later on
by Yoda_Oz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |