in reply to Combining data help!
Assuming you are trying to insert the key-value pairs in $listA into each element of @listB, using Foreach Loops seems pretty straight forward:
foreach my $acct (@listB) { %$acct = (%$acct, %{$listA->[0]}); }
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Combining data help!
by Anonymous Monk on Mar 06, 2013 at 17:16 UTC | |
by kennethk (Abbot) on Mar 06, 2013 at 17:59 UTC |