in reply to using keys on hash of hash
Note that the "fat arrows" => do not influence the type of the thing you are constructing, it's merely a weird looking comma that automagically quotes the thing on its LHS. So you could even write things like this:
my @list = foo => bar => 'baz';
The second error (this time a real syntax error that perl chokes on) is that you are missing a comma before h2.
|
|---|