In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> In a message dated 10/8/01 12:06:09 PM Eastern Daylight Time, 
> [EMAIL PROTECTED] writes:

> You know, there's another way to avoid that mistake if you're willing to 
> change your style a little bit.  In all logical tests, put the variable on 
> the RIGHT side.
> 
> if (5 == x)
> instead of
> if (x == 5)
> 
> When you forget to use the equality symbol, you get an instant compile error.

or you could simply use -w, which you are doing anyway, right? ;)
-- 
brian d foy <[EMAIL PROTECTED]> - Perl services for hire
CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html
Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to