%h->{a}->{'foo'}='bar'; print Dumper %h->{a}; #### $h{a}->{'foo'} = 'bar'; print Dumper $h{a};