Hi all, I have a questions of comparing two hashes. %hash1={a=>2,b=>3,c=>4,d=>5} %hash2={a=>7,b=>8,c=>9,d=>0)
I have to ensure that from %hash2 the value is increased by 5(2->7 and 3->8) for "a","b". I dont want to compare the all the values of hash2(for exp-d=0).I want to push this to a library(preferably a single method) so that I can reuse it. Is there a better way to do this?. Can anybody help me in this regard? Any source code will be of great help. Regards Pradeep -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/