Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
but I am stuck, I tried this:$VAR1 = { 'DATE' => '2013-04-25', 'TW' => '1', 'REF' => '1234567', 'ACC' => '33456790' }; $VAR2 = { 'DOC' => 'EMAIL' };
No success.push @$data, {DOC => 'EMAIL'};
$VAR1 = { 'DATE' => '2013-04-25', 'TW' => '1', 'REF' => '1234567', 'ACC' => '33456790' 'DOC' => 'EMAIL' };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Adding an new element to array.
by toolic (Bishop) on Aug 21, 2013 at 15:38 UTC | |
by Anonymous Monk on Aug 21, 2013 at 15:47 UTC | |
|
Re: Adding an new element to array.
by marinersk (Priest) on Aug 21, 2013 at 16:03 UTC | |
|
Re: Adding an new element to array.
by hdb (Monsignor) on Aug 21, 2013 at 15:39 UTC | |
|
Re: Adding an new element to array.
by protist (Monk) on Aug 21, 2013 at 17:58 UTC | |
by Anonymous Monk on Aug 21, 2013 at 18:19 UTC | |
by poj (Abbot) on Aug 21, 2013 at 19:13 UTC |