in reply to Re: if/while/else problem
in thread if/while/else problem

DOH!! DOH!! :-) You were correct...however, even after making the change it did not fix my issue

Replies are listed 'Best First'.
Re^2: if/while/else problem
by saberworks (Curate) on Mar 25, 2009 at 19:15 UTC
    Your "issue" was that you were getting a syntax error. You now have a new issue because your syntax error is resolved. What you have now is a logic error. Unfortunately it's difficult for me to help you debug when all the code isn't here. However, something jumps out at me... -s file - "file" is a bare word, are you using strict? You probably want -s "file" or -s $file or something.