Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Precedence for Idiots

by mreece (Friar)
on Dec 01, 2006 at 15:28 UTC ( #587212=note: print w/ replies, xml ) Need Help??


in reply to Precedence for Idiots

a little whitespace around your operators would make this more readable!

personally, i don't think a precedence tutorial can be complete without touching on the difference between && and || vs and and or.

this bug bit me yesterday:

return $this and $that and is_ok($this, $that);


Comment on Re: Precedence for Idiots
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2015-07-06 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (73 votes), past polls