When a LIST is evaluated in scalar context every element of the list is evaluated in scalar context and the value of the last element is the value of the LIST, with all the other values being discarded.
That explanation fails to account for operator precedence, so it's unworkable in practice.
In reply to Re^2: If you believe in Lists in Scalar Context, Clap your Hands
by chromatic
in thread If you believe in Lists in Scalar Context, Clap your Hands
by gone2015
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |