Additional: $hasfromform1 have as result only 1 key $hasfromform2 can have multiple keys (ever key by $hasfromform2 must be + with other $hasfromform2 key)
and at the end go: one key from $hasfromform1 + every key of $hasfromform2 : how summarise results from 2 hashes? What do you mean by "summarise"? RE: I mean: every key of $hasfromform1 + every key of $hasfromform2 : 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->{$_}; : } RE: what I must to do? -GP -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>