iea has asked for the wisdom of the Perl Monks concerning the following question:
And here how it should look after i added "value".$VAR1 = { 'Actions' => [ { 'ID' => '0001', 'Action' => [ { 'Type' => 'Registry', 'Method' => 'CreateKey', 'Key' => 'HKEY_LOCAL_MACHIN +E\\SOFTWARE' }, { 'Type' => 'Registry', 'Method' => 'CreateKey', 'Key' => 'HKEY_LOCAL_MACHIN +E\\SOFTWARE' }. ], 'Description' => 'All possible returns of C +reateKey.', 'Name' => 'CreateKey' } ] };
Thanks in advanced$VAR1 = { 'Actions' => [ { 'ID' => '0001', 'Action' => [ { 'Value' => [ { 'Type' => 'REG_ +DWORD', 'content' => 'T +est1' }, { 'Type' => 'REG_ +DWORD', 'content' => 'T +est2' } ], 'Type' => 'Registry', 'Method' => 'CreateKey', 'Key' => 'HKEY_LOCAL_MACHIN +E\\SOFTWARE' }, { 'Value' => [ { 'Type' => 'REG_ +DWORD', 'content' => 'T +est1' }, { 'Type' => 'REG_ +DWORD', 'content' => 'T +est2' } ], 'Type' => 'Registry', 'Method' => 'CreateKey', 'Key' => 'HKEY_LOCAL_MACHIN +E\\SOFTWARE' }. ], 'Description' => 'All possible returns of C +reateKey.', 'Name' => 'CreateKey' } ] };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Add value to array hash
by CountZero (Bishop) on Oct 18, 2009 at 17:58 UTC | |
|
Re: Add value to array hash
by zwon (Abbot) on Oct 18, 2009 at 17:41 UTC |