![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: conditional statements in list constructorsby Anonymous Monk |
on Mar 27, 2014 at 14:08 UTC ( #1079931=note: print w/replies, xml ) | Need Help?? |
from my examples here, I summise that the tertiary conditional is an if statement(term/expression), wrapped in a do block. Is this the case? B::Concise may reveal if they resolve to the same opcodes ... if they're the same :) shotgun Ternary operator (there's no Trinary operator ), To Trinary or not to Ternary, (mini-if ternary), Re^2: Two simple code style advice questions (tye), ternary operator as lvalue failing to induce evaluation of right-hand expression in list context
In Section
Seekers of Perl Wisdom
|
|