perl -MO=Deparse -e '6 < 8 ? $ans = "true" : $ans = "false";' ($ans = 'true') = 'false';
Try:
Conditional Operator$ans = 6 < 8 ? "true" : "false";
In reply to Re: if statement confusion
by toolic
in thread if statement confusion
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |