in reply to Creating a hash of hashes of arrays

Use parens to construct a hash, not curlies:
my %hof = ( 'key' => { 'innerkey2' => [ 'here' ], 'innerkey3' => [ 'there' ], 'innerkey1' => [ 'hello', 'world' ] } );

The curlies are used to construct a reference to a hash.