Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: if statement confusion

by Anonymous Monk
on Jun 11, 2012 at 14:13 UTC ( #975574=note: print w/replies, xml ) Need Help??


in reply to if statement confusion

Operator precedence. What you got was: (6 < 8 ? $ans = "true" : $ans) = "false";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975574]
help
Chatterbox?
[Discipulus]: eh eh! but they escape from me and with reasons!

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-05-30 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?