Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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";


Comment on Re: if statement confusion
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2014-09-16 21:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (50 votes), past polls