Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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 studying the Monastery: (6)
As of 2015-12-01 06:09 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (794 votes), past polls