DEV Community

Discussion on: Tools for learning Perl context

Collapse
grinnz profile image
Dan Book • Edited

The values of hashes indeed must be scalar values; the problem here (which has caused many problems and even vulnerabilities) is that the fat comma doesn't construct a hash, just a list.

Collapse
matthewpersico profile image
Matthew O. Persico

Let me rephrase - I assumed that the right hand side of a fat comma would have context scalar. However, since it just a comma, it has context list.