I sure am glad I generally go for the extra bit of typing and use if/else. Bloody hell ... the amount of time I can spend in a ternary op rabbit hole ... :-(($x) ? ($z = "true\n") : ($z = "false\n"); print $z;
In reply to Re^2: Evaluating the condition ($x ||= $y)
by syphilis
in thread Evaluating the condition ($x)
by syphilis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |