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

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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-02-10 03:37 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (331 votes), past polls