Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^6: Situation where warning "Found = in conditional, should be" seems obsolete (documentation - C terminology)by LanX (Saint) |
on Feb 06, 2021 at 20:15 UTC ( [id://11127992]=note: print w/replies, xml ) | Need Help?? |
> Do && and || short-circuit in C? Yes, and Perl introduce and and or as low precedence alternatives. > The long discussion yes we had this before simple example
Please keep in mind that "ternary operator" is not correct either, since it's a mathematical term classifying a whole family of operators with 3 operands. ? : is just the only ternary one in these languages.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|