in reply to Re: return value of "if" (documentation?)
in thread return value of "if" (documentation?)
I can't find either quotes in the linked document? You're quoting perlsub, not perlsyn.
An if statement is neither an expression nor a loop control structure, so neither quoted passages apply (wherever you quoted them from). perlsyn simply does not cover the situation. You should consider it unspecified as well.
In Section
Seekers of Perl Wisdom