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

Re: What does this mean?

by bulk88 (Priest)
on Aug 20, 2012 at 22:28 UTC ( #988526=note: print w/replies, xml ) Need Help??

in reply to What does this mean?

A statement "if" is not an operator or expression. Think of it as a block control keyword. Its precedence is dead last, below a ',', '=', '(', '[', '{', and '=>'. Last I played with it, if you try to treat it like an expression op, it will syntax error on you. If you see a statement if, in your head replace the "X if Y" with psuedo code "{X} if (Y)", any existing commas and parenthesis are irrelevant.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988526]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-07-26 21:56 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (402 votes). Check out past polls.