What do you mean by "the values from
$listA to
@listB"? Do you mean append them to the end of the list (
push)? Do you mean insert those fields into the hash refs? See
How do I post a question effectively?. In particular, showing code and desired output would be very helpful.
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.