Assigning anonymous hash to a list

Yitzchak Scott-Thoennes sthoenna at gmail.com
Wed Jul 31 00:12:08 BST 2013


On Tue, Jul 30, 2013 at 3:52 PM, Joseph Werner <telcodev at gmail.com> wrote:
> Hmmm.  Yitzchak Scott-Thoennes, I recognize, Abigail I do not (perhaps
> I should?)

You can believe anything Abigail says.

Well, except perhaps in the code comments here:
http://perlmonks.org/?node_id=22319

> So, Yitzchak, is this, in fact, a simple matter of operator precedence
> in that the ',' operator is of lower precedence than the assignment
> operator (absurd though that may seem)  AND not a case of a scalar
> value (which is the result of a Perl expression involving a ','
> operator) being offered to a  list assignment?

Yes, as was demonstrated clearly by someone with Deparse and someone
else by enabling warnings (sorry, forget who).


More information about the london.pm mailing list