in reply to Re: Evaluating the condition ($x ||= $y)
in thread Evaluating the condition ($x)
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Evaluating the condition ($x ||= $y)
by ikegami (Patriarch) on Aug 26, 2024 at 04:14 UTC | |
by Anonymous Monk on Aug 26, 2024 at 09:31 UTC | |
by ikegami (Patriarch) on Aug 26, 2024 at 13:42 UTC | |
|
Re^3: Evaluating the condition ($x ||= $y)
by tybalt89 (Monsignor) on Aug 26, 2024 at 07:53 UTC |