I see an unclosed double-quoted string, beginning just before "found". I'm guessing this would be a syntax error if submitted to Perl; so presumably this code snippet isn't exactly what you're really trying to run?
Guessing that the close quote is supposed to go before the "if"...
I think you have a precedence problem. Trying to use the "and" to string two statements under control of the if statement-modifier always makes my head hurt when I try it, so if I actually want to control two statements, I use a real if. I'll bet if you do that, it does what you expect.
In reply to Re: idiom question
by dd-b
in thread idiom question
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |