you show $hash{'mode'}{'component'} = [{'command' => 'cmd1'}, {'command' => 'cmd2'}]; simplist would be $hash{'mode'}{'component'} = ['cmd1', 'cmd2']; but I'd go for $hash{'mode'}{'component'}{'commands'} = ['cmd1', 'cmd2'];