in reply to Re^4: returning to a loop later on
in thread returning to a loop later on

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.

Replies are listed 'Best First'.
Re^6: returning to a loop later on
by Yoda_Oz (Sexton) on Sep 07, 2006 at 14:38 UTC
    could it be because im running on a mac? os x 10.4