About a month ago, a thread here suggested that we change the meaning of
the comma operator. Currently, in scalar context the expression
means "evaluate foo(), discard the result, then return the value of bar()".
It was suggested that this be changed to return the 2-element array (foo(),
bar()). Has Larry ruled on this yet?
By the way, even if we do make this change, I think that in void context
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.