In scalar context, "," returns its RHS operand (after evaluating both sides in scalar context).
That's true except when it's not. See Re^2: ||= oddity
In reply to Re^4: 'or' versus '||' - Unexpected Results
by kyle
in thread 'or' versus '||' - Unexpected Results
by cmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |