Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: if statement confusion

by stevieb (Prior)
on Jun 12, 2012 at 00:34 UTC ( #975667=note: print w/replies, xml ) Need Help??


in reply to Re: if statement confusion
in thread if statement confusion

This is perfectly legitimate and readable code to me, and I use this technique frequently. In fact, the less typing a coder does, reduces the chances for bugs.

Just out of curiosity, how would *you* code this statement?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2016-09-24 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (462 votes). Check out past polls.