in reply to Initialization of hash element....

Perl will attempts to do what it thinks were you trying to accomplish.

It tends to throw people who are used to programming with Java or C#.