I'm a little unsure what order things happen in behind the scenes, maybe hash assignment is done one entry at a time
Parens have higher precedence than the assignment operator, so the list (nit: it's a "list", not an "array") is contructed before the assignment is performed. This isn't a hash constructor. There isn't such a thing in Perl. The code creates a list, which is then assigned to the hash.
In reply to Re^2: Populating a nested hash with itself?
by ikegami
in thread Populating a nested hash with itself?
by jkva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |