doX() if ($cond) otherwise doY();
I think I may be the only person in the world that would (actively) prefer to see that as:
$cond and doX or doY;
In reply to Re^2: Useless unless
by BrowserUk
in thread Useless unless
by GrandFather
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |