in reply to Re: boolean chaining - && and 'and'
in thread boolean chaining - && and 'and'

When staring at it doesn't help,

... you look out for other tools. What I found very helpful is to place the cursor over an identifier (really any identifier where I expect trouble) and press the * or # key.

That's the vim command to search for the current identifier as a word, and since I have the option hlsearch enabled, I automatically see all occurrences of this identifier on the current page, and usually I notice if one is missing.

That's very handy for example to spot typos in package names or hash keys, both of which aren't checked to the same amount at compile time as variables are (assuming you use strict).