sub a {
return ("name", 99);
}
but it's assigned to a scalar
$f = a();the value assigned seems to be the last item in the list (which you'd expect if you thought about list items being pushed onto a stack in order) and not the first item, and not the scalar value of the list either (the number of items).