go ahead... be a heretic | |
PerlMonks |
Re^13: printing unitialized value of the 'do BLOCK' (summary)by ikegami (Patriarch) |
on Dec 26, 2019 at 09:07 UTC ( [id://11110629]=note: print w/replies, xml ) | Need Help?? |
They are not.
if statements and unless statements are statements, not expressions.
They're not, and they don't.
-MO=Concise shows opcodes, not operators. An if statement and an and expression often (but not always) use the and opcode, but that doesn't tell you anything relevant to this conversation. Would you say an if statement in C and a while statement in C are the same thing because they both use the same branch opcode? In short, you are begging the question. You are presuming an if statement does the same as an and expression to conclude that an if<c> statement does the same as an <c>and expression.
In Section
Seekers of Perl Wisdom
|
|