Maxipoint Rep Office <[EMAIL PROTECTED]> wrote: : how summarise results from 2 hashes?
What do you mean by "summarise"? : it will not summarise key(s) from hasfromform2! I only have : hasfromform1 : : foreach(keys %{$hasfromform1}){ : if($forma->{$_} eq $_){ : $hasfromform1 += $hasfromform2->{$_}; You are attempting to increment a hash reference. That doesn't make sense. Did you mean to use this? $hasfromform1->{$_} += $hasfromform2->{$_}; : } HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>