Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hi friends,who knows, what is the best way to combine two hashes? these hashes have a same keys but different values.now i want to assign two value to one key.
$comb{$element}=$comb_number; $rep{$element}=$rep_number;
i want a new hash as follow:
$new_hash{$element}=[$rep_number $comb_number]
Back to
Seekers of Perl Wisdom