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

Re: Hoss'ss Last Words

by AnomalousMonk (Bishop)
on Jul 18, 2011 at 00:19 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2021-12-08 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?