in reply to Add value to array hash

for my $action ( @{ $VAR1->{Actions}[0]{Action} } ) { $action->{Value} = [ { 'Type' => 'REG_DWORD', 'content' => 'Test1', }, { 'Type' => 'REG_DWORD', 'content' => 'Test2', }, ]; }