in reply to if var isnt used

why do you escape - ? - isn't a metacharacter except in a class so you don't need to escape it .

Replies are listed 'Best First'.
Re^2: if var isnt used
by Anonymous Monk on Dec 25, 2005 at 00:28 UTC
    What breaks if he escapes it? Nothing

      Except it causes confusion for future maintainers. "Why did he escape the question mark? Is that something I haven't learned before? Is this why I'm getting a bug, or should I look somewhere else?"

      Always try to reduce confusion for future maintainers.

          -Bryan