Not really... I'm sure I'm being really dumb here, but I still don't understand, in the following example, why $x gets set to "FALSE"... just very, very confused...
1==1?$x='TRUE':$y='FALSE'; print "x=$x\n";
In reply to Re^4: Conditional Operator Confusion
by Melly
in thread Conditional Operator Confusion
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |