in reply to Re^2: Confused as to why the "casting context" is mis-behaving
in thread Confused as to why the "casting context" is mis-behaving

from perlop:

Comma Operator
Binary "," is the comma operator. In scalar context it evaluates its left argument, throws that value away, then evaluates its right argument and returns that value. This is just like C’s comma operator.

In list context, it’s just the list argument separator, and inserts both its arguments into the list. These arguments are also evaluated from left to right.

  • Comment on Re^3: Confused as to why the "casting context" is mis-behaving