in reply to Re^2: scalar value of list assignment
in thread scalar value of list assignment

In that case, $a will be "first". Now, if you'd remove the parens in the second assignment, the value of $a will be 3.