Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: if/while/else problemby saberworks (Curate) |
on Mar 25, 2009 at 19:15 UTC ( [id://753224]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|