Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: if/while/else problem

by saberworks (Curate)
on Mar 25, 2009 at 19:15 UTC ( #753224=note: print w/replies, xml ) Need Help??

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

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://753224]
[jedikaiti]: :-D
[Your Mother]: ♫ You say apod, I say Perl POD ... let's call the whole thing off ♬

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-08-18 15:46 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (305 votes). Check out past polls.