Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Hoss'ss Last Words

by AnomalousMonk (Archbishop)
on Jul 18, 2011 at 00:19 UTC ( [id://915035]=note: print w/replies, xml ) Need Help??


in reply to Hoss'ss Last Words

When you write equality comparisons, get in the habit of putting the constant on the left side.

You may have intended that the word 'equality' include them, but this advice applies also to 'not equal' comparisons:  someVariable =! true is usually a valid expression, so
    if (someVariable =! true) { /* BUG!! */ }
is a valid statement.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://915035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2025-06-13 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.